Sorry, no results found for "".
Returns an array of resource objects of type plugin
1import { buildClient } from "@datocms/cma-client-node";2 3async function run() {4 const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });5 6 const plugins = await client.plugins.list();7 8 for (const plugin of plugins) {9 // Check the 'Returned output' tab for the result ☝️10 console.log(plugin);11 }12}13 14run();
1{2 id: "RMAMRffBRlmBuDlQsIWZ0g",3 name: "5 stars",4 description: "A better rating experience!",5 url: "https://cdn.rawgit.com/datocms/extensions/master/samples/five-stars/extension.js",6 parameters: { devMode: true },7 package_name: "datocms-plugin-star-rating-editor",8 package_version: "0.0.4",9 permissions: ["currentUserAccessToken"],10 meta: { version: "2" },11}