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[];
pageCollection

Alternatives

pagegetCollection()pagegetCollections()

Last updated