info()

Returns collection info for specified collection(s)

Parameters

export type CollectionInfoProps = {
    collectionId?: string;
    collectionIds?: string[];
}

Examples

const collection = await assetlayer.collections.info({
    collectionId: 'collectionId'
});
const collections = await assetlayer.collections.info({
    collectionIds: ['collectionId_1', 'collectionId_2']
});

Return Types

type ReturnType = Collection | Collection[];
Collection

Alternatives

getCollection()getCollections()

Last updated