Sorry, no results found for "".
Returns a resource object of type upload_filter
import { buildClient } from "@datocms/cma-client-node";
async function run() { const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });
const uploadFilterId = "-Lo34LFSTLmgPToamzJLcg";
const uploadFilter = await client.uploadFilters.find(uploadFilterId);
// Check the 'Returned output' tab for the result ☝️ console.log(uploadFilter);}
run();
{ id: "-Lo34LFSTLmgPToamzJLcg", name: "Draft posts", filter: { status: { eq: "draft" } }, shared: true,}