Sorry, no results found for "".
Returns a resource object 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 pluginId = "RMAMRffBRlmBuDlQsIWZ0g";7 8 const plugin = await client.plugins.find(pluginId);9 10 // Check the 'Returned output' tab for the result ☝️11 console.log(plugin);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}