Show examples in:
Retrieve a upload collection

Returns

Returns a upload_collection resource object.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const uploadCollectionId = 'uinr2zfqQLeCo_1O0-ao-Q';
const uploadCollection = await client.uploadCollections.find(uploadCollectionId);
console.log(uploadCollection);
}
run();