{"_id":"@datocms/rest-api-reference","_rev":"8-3e5b12dfcf677b82f6cca6b3e4f0b22a","name":"@datocms/rest-api-reference","dist-tags":{"next":"5.5.0-alpha.0","latest":"6.1.0"},"versions":{"5.4.1":{"name":"@datocms/rest-api-reference","version":"5.4.1","keywords":["datocms","api","reference","documentation"],"author":{"name":"Stefano Verna","email":"s.verna@datocms.com"},"license":"MIT","_id":"@datocms/rest-api-reference@5.4.1","maintainers":[{"name":"marcelofinamorvieira","email":"marcelofinamorvieira@gmail.com"},{"name":"stefanoverna","email":"s.verna@datocms.com"},{"name":"delphaber","email":"monti.fabrizio@gmail.com"},{"name":"mat_jack1","email":"m.giaccone@datocms.com"},{"name":"souljuse","email":"i.oppo@datocms.com"},{"name":"sistrall_","email":"silvano@datocms.com"},{"name":"datoroger","email":"r.tuan@datocms.com"}],"homepage":"https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-api-reference#readme","bugs":{"url":"https://github.com/datocms/js-rest-api-clients/issues"},"dist":{"shasum":"4f2467bdf321c58470ae7bfc8495fb1bc1d539fd","tarball":"https://registry.npmjs.org/@datocms/rest-api-reference/-/rest-api-reference-5.4.1.tgz","fileCount":87,"integrity":"sha512-dzXvjby+x6ixsf3v+B+etyJUa9haY4bY2eX+8jhoHVZl8+Z1lkMclF0ZxBVpxk8/I6pZPUURQbYGTU85wCQ3kA==","signatures":[{"sig":"MEQCIH7N/Ndp7qNPeDrrKDVQxnGpc6wuuilRycZU8jsKqocvAiA9Dqbxq8JfpR5jhy1Hzv7U9XcoWra6rGZOEKXggl0fgw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125325},"main":"dist/cjs/index.js","module":"dist/esm/index.js","gitHead":"90ca6093bf4e3cb7c1096c7bd684ef069aaa68a9","scripts":{"build":"tsc && tsc --project ./tsconfig.esnext.json","prebuild":"rimraf dist"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stefanoverna","email":"s.verna@datocms.com"},"repository":{"url":"git+https://github.com/datocms/js-rest-api-clients.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v22.22.2+arm64 (darwin)","description":"Utilities to browse DatoCMS REST API reference documentation","directories":{"lib":"dist","test":"__tests__"},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"@apidevtools/json-schema-ref-parser":"^11.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/json-schema":"^7.0.15"},"_npmOperationalInternal":{"tmp":"tmp/rest-api-reference_5.4.1_1775739916822_0.9054089144588007","host":"s3://npm-registry-packages-npm-production"}},"5.4.9":{"name":"@datocms/rest-api-reference","version":"5.4.9","keywords":["datocms","api","reference","documentation"],"author":{"name":"Stefano Verna","email":"s.verna@datocms.com"},"license":"MIT","_id":"@datocms/rest-api-reference@5.4.9","maintainers":[{"name":"marcelofinamorvieira","email":"marcelofinamorvieira@gmail.com"},{"name":"stefanoverna","email":"s.verna@datocms.com"},{"name":"delphaber","email":"monti.fabrizio@gmail.com"},{"name":"mat_jack1","email":"m.giaccone@datocms.com"},{"name":"souljuse","email":"i.oppo@datocms.com"},{"name":"sistrall_","email":"silvano@datocms.com"},{"name":"datoroger","email":"r.tuan@datocms.com"}],"homepage":"https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-api-reference#readme","bugs":{"url":"https://github.com/datocms/js-rest-api-clients/issues"},"dist":{"shasum":"730c6f235ce9a27b929687d3d4e5e4b6432bf838","tarball":"https://registry.npmjs.org/@datocms/rest-api-reference/-/rest-api-reference-5.4.9.tgz","fileCount":88,"integrity":"sha512-BEhOU2Rwzu/DZzeaBnggXgKsg/JZVnR0btlP0lUd/O3qdY6Su9QqTZ5ca+nClR9iTrr2XOIV7ZCSnhzbA1UC0Q==","signatures":[{"sig":"MEUCIGjIFhFIXyaytXFsZgQ7iSWjhB+G3ehWyd1sf1EJjhxxAiEAnyD+VQKJrTTC6gLK+oUt5VdkCfbAE8cROxWr+Yvyqqg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125997},"main":"dist/cjs/index.js","module":"dist/esm/index.js","gitHead":"84f6eadac6b5bfaa8c8646e112041a361c842a46","scripts":{"build":"tsc && tsc --project ./tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json","prebuild":"rimraf dist"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stefanoverna","email":"s.verna@datocms.com"},"repository":{"url":"git+https://github.com/datocms/js-rest-api-clients.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v22.22.2+arm64 (darwin)","description":"Utilities to browse DatoCMS REST API reference documentation","directories":{"lib":"dist","test":"__tests__"},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"@apidevtools/json-schema-ref-parser":"^11.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/json-schema":"^7.0.15"},"_npmOperationalInternal":{"tmp":"tmp/rest-api-reference_5.4.9_1777356304030_0.44752319815120645","host":"s3://npm-registry-packages-npm-production"}},"5.4.15":{"name":"@datocms/rest-api-reference","version":"5.4.15","keywords":["datocms","api","reference","documentation"],"author":{"name":"Stefano Verna","email":"s.verna@datocms.com"},"license":"MIT","_id":"@datocms/rest-api-reference@5.4.15","maintainers":[{"name":"marcelofinamorvieira","email":"marcelofinamorvieira@gmail.com"},{"name":"stefanoverna","email":"s.verna@datocms.com"},{"name":"delphaber","email":"monti.fabrizio@gmail.com"},{"name":"mat_jack1","email":"m.giaccone@datocms.com"},{"name":"souljuse","email":"i.oppo@datocms.com"},{"name":"sistrall_","email":"silvano@datocms.com"},{"name":"datoroger","email":"r.tuan@datocms.com"}],"homepage":"https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-api-reference#readme","bugs":{"url":"https://github.com/datocms/js-rest-api-clients/issues"},"dist":{"shasum":"f9bb9d5ac5d56fcc1baf0b7784937ec2e2a80b0e","tarball":"https://registry.npmjs.org/@datocms/rest-api-reference/-/rest-api-reference-5.4.15.tgz","fileCount":88,"integrity":"sha512-I2szN/bgaQXZRvwP/PXExh0MTtddisz5y0ShG3qrEJYLn/SFACLVyhpe4lmMqJReB63smGTCnFdDaKBBeTUbcw==","signatures":[{"sig":"MEQCIByBsCg7Eo5aqAeknIc1lB8OrohoL/eZ71B+ug0npdtyAiAboDQxfkRVkLkg2h1tnvc1mtOwxJbPwi829TuLEuPT3g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":147205},"main":"dist/cjs/index.js","module":"dist/esm/index.js","gitHead":"c368fd252a0ba33c3b22759b5619781c7a8aba7b","scripts":{"build":"tsc && tsc --project ./tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json","prebuild":"rimraf dist"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stefanoverna","email":"s.verna@datocms.com"},"repository":{"url":"git+https://github.com/datocms/js-rest-api-clients.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v22.22.2+arm64 (darwin)","description":"Utilities to browse DatoCMS REST API reference documentation","directories":{"lib":"dist","test":"__tests__"},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"@apidevtools/json-schema-ref-parser":"^11.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/json-schema":"^7.0.15"},"_npmOperationalInternal":{"tmp":"tmp/rest-api-reference_5.4.15_1777958538347_0.18941140883666407","host":"s3://npm-registry-packages-npm-production"}},"5.4.19":{"name":"@datocms/rest-api-reference","version":"5.4.19","keywords":["datocms","api","reference","documentation"],"author":{"name":"Stefano Verna","email":"s.verna@datocms.com"},"license":"MIT","_id":"@datocms/rest-api-reference@5.4.19","maintainers":[{"name":"marcelofinamorvieira","email":"marcelofinamorvieira@gmail.com"},{"name":"stefanoverna","email":"s.verna@datocms.com"},{"name":"delphaber","email":"monti.fabrizio@gmail.com"},{"name":"mat_jack1","email":"m.giaccone@datocms.com"},{"name":"souljuse","email":"i.oppo@datocms.com"},{"name":"sistrall_","email":"silvano@datocms.com"},{"name":"datoroger","email":"r.tuan@datocms.com"}],"homepage":"https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-api-reference#readme","bugs":{"url":"https://github.com/datocms/js-rest-api-clients/issues"},"dist":{"shasum":"a8922d6811d295774a0311abe947c979f1b47be2","tarball":"https://registry.npmjs.org/@datocms/rest-api-reference/-/rest-api-reference-5.4.19.tgz","fileCount":88,"integrity":"sha512-7zOmt6lsElJxTy96DW1H3kPxxejwLcv7vnp0PKZwYUF9bo9ROiUbDEjpOzJL5RIr2Ww/RjeqKIj4lAWW8M5N8w==","signatures":[{"sig":"MEUCIE1140UFUYceCydry5ZGt9IzNNSEolIwgpic0QH4f3UmAiEAozVwU/j30HpjmjqYdFgpM8u9bPpJAlVequ4xCfP9buE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146671},"main":"dist/cjs/index.js","module":"dist/esm/index.js","gitHead":"8120d2f283ff3ebbf6e0b6d12bf201da159aefb5","scripts":{"build":"tsc && tsc --project ./tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json","prebuild":"rimraf dist"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stefanoverna","email":"s.verna@datocms.com"},"repository":{"url":"git+https://github.com/datocms/js-rest-api-clients.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v22.22.2+arm64 (darwin)","description":"Utilities to browse DatoCMS REST API reference documentation","directories":{"lib":"dist","test":"__tests__"},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"@apidevtools/json-schema-ref-parser":"^11.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/json-schema":"^7.0.15"},"_npmOperationalInternal":{"tmp":"tmp/rest-api-reference_5.4.19_1778762293829_0.659217427394184","host":"s3://npm-registry-packages-npm-production"}},"5.5.0-alpha.0":{"name":"@datocms/rest-api-reference","version":"5.5.0-alpha.0","keywords":["datocms","api","reference","documentation"],"author":{"name":"Stefano Verna","email":"s.verna@datocms.com"},"license":"MIT","_id":"@datocms/rest-api-reference@5.5.0-alpha.0","maintainers":[{"name":"marcelofinamorvieira","email":"marcelofinamorvieira@gmail.com"},{"name":"stefanoverna","email":"s.verna@datocms.com"},{"name":"delphaber","email":"monti.fabrizio@gmail.com"},{"name":"mat_jack1","email":"m.giaccone@datocms.com"},{"name":"souljuse","email":"i.oppo@datocms.com"},{"name":"sistrall_","email":"silvano@datocms.com"},{"name":"datoroger","email":"r.tuan@datocms.com"}],"homepage":"https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-api-reference#readme","bugs":{"url":"https://github.com/datocms/js-rest-api-clients/issues"},"dist":{"shasum":"cd53bec321809721fbaedfa5024754a8da6f4917","tarball":"https://registry.npmjs.org/@datocms/rest-api-reference/-/rest-api-reference-5.5.0-alpha.0.tgz","fileCount":88,"integrity":"sha512-dcDH6bqERZO1pCB8G4Pc/X+xrhGI+MDY9vGCsLiafH4cMCHSMhlIZRniMZCO2MnWQkt0HpWf/Cjb7jVmco7AgQ==","signatures":[{"sig":"MEYCIQCRASj4EymJgj0SB3MuWeTFagy6f3lKcJasp+V07j/vJAIhAJ4i3QqtICVVPRYcdZOdfWOFZVcU6rGCOiIf2hAdJqGz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146678},"main":"dist/cjs/index.js","module":"dist/esm/index.js","gitHead":"9871ebb724c5acdf1c84a407938e78b77d3c99e2","scripts":{"build":"tsc && tsc --project ./tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json","prebuild":"rimraf dist"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"sistrall_","email":"silvano@datocms.com"},"repository":{"url":"git+https://github.com/datocms/js-rest-api-clients.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v22.16.0+arm64 (darwin)","description":"Utilities to browse DatoCMS REST API reference documentation","directories":{"lib":"dist","test":"__tests__"},"sideEffects":false,"_nodeVersion":"22.16.0","dependencies":{"@apidevtools/json-schema-ref-parser":"^11.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/json-schema":"^7.0.15"},"_npmOperationalInternal":{"tmp":"tmp/rest-api-reference_5.5.0-alpha.0_1779266279553_0.7209558494115342","host":"s3://npm-registry-packages-npm-production"}},"5.7.0":{"name":"@datocms/rest-api-reference","version":"5.7.0","keywords":["datocms","api","reference","documentation"],"author":{"name":"Stefano Verna","email":"s.verna@datocms.com"},"license":"MIT","_id":"@datocms/rest-api-reference@5.7.0","maintainers":[{"name":"marcelofinamorvieira","email":"marcelofinamorvieira@gmail.com"},{"name":"stefanoverna","email":"s.verna@datocms.com"},{"name":"delphaber","email":"monti.fabrizio@gmail.com"},{"name":"mat_jack1","email":"m.giaccone@datocms.com"},{"name":"souljuse","email":"i.oppo@datocms.com"},{"name":"sistrall_","email":"silvano@datocms.com"},{"name":"datoroger","email":"r.tuan@datocms.com"}],"homepage":"https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-api-reference#readme","bugs":{"url":"https://github.com/datocms/js-rest-api-clients/issues"},"dist":{"shasum":"7703b85dbe7e707b40a075c5287b443bc490b8a8","tarball":"https://registry.npmjs.org/@datocms/rest-api-reference/-/rest-api-reference-5.7.0.tgz","fileCount":88,"integrity":"sha512-//3iKeixINV7992JaCZaQxsGdSYUaf8DTgLl/AR8Meut2v1Iw5wjDOcvl9CotESOtGXUZK7JBVmgEBJ8iKmIWw==","signatures":[{"sig":"MEYCIQDHw6KGKj51Y4wu3fH90GQ6LUojoh8YJNnrtV/3MTUo6AIhAMmfkLGZjrmucmB6Fp5I+i8cH9wqILvz74ewJabCeH5B","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146921},"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./src/*":"./src/*","./dist/*":"./dist/*","./package.json":"./package.json"},"gitHead":"d6d11483b6ecb2d1803f4de831ecfd638a3a8265","scripts":{"build":"tsc && tsc --project ./tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json","prebuild":"rimraf dist"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"stefanoverna","email":"s.verna@datocms.com"},"repository":{"url":"git+https://github.com/datocms/js-rest-api-clients.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v22.22.3+arm64 (darwin)","description":"Utilities to browse DatoCMS REST API reference documentation","directories":{"lib":"dist","test":"__tests__"},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"@apidevtools/json-schema-ref-parser":"^11.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/json-schema":"^7.0.15"},"_npmOperationalInternal":{"tmp":"tmp/rest-api-reference_5.7.0_1786806970337_0.019730022493041677","host":"s3://npm-registry-packages-npm-production"}},"5.8.0":{"name":"@datocms/rest-api-reference","version":"5.8.0","keywords":["datocms","api","reference","documentation"],"author":{"name":"Stefano Verna","email":"s.verna@datocms.com"},"license":"MIT","_id":"@datocms/rest-api-reference@5.8.0","maintainers":[{"name":"marcelofinamorvieira","email":"marcelofinamorvieira@gmail.com"},{"name":"stefanoverna","email":"s.verna@datocms.com"},{"name":"delphaber","email":"monti.fabrizio@gmail.com"},{"name":"mat_jack1","email":"m.giaccone@datocms.com"},{"name":"souljuse","email":"i.oppo@datocms.com"},{"name":"sistrall_","email":"silvano@datocms.com"},{"name":"datoroger","email":"r.tuan@datocms.com"}],"homepage":"https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-api-reference#readme","bugs":{"url":"https://github.com/datocms/js-rest-api-clients/issues"},"dist":{"shasum":"32fea4d38d3edc5af9d3cb6035f51814361cd27f","tarball":"https://registry.npmjs.org/@datocms/rest-api-reference/-/rest-api-reference-5.8.0.tgz","fileCount":88,"integrity":"sha512-ptr+QlTGNwK4zB4V4N1ShL2QWvkn8f30VpaLdQg4OYFX69DsupErqAEVsEvZ/mxQgWOqC7zuECbxB8VOVe/yKQ==","signatures":[{"sig":"MEQCICA1g9f8gXISHq60hEBhUlCqe3IOGARxPz3G46D7AfcjAiAunLTF3ZIaGV0+kIHap/MZpQgwIXghBw6mGHAcr0bfZQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146921},"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./src/*":"./src/*","./dist/*":"./dist/*","./package.json":"./package.json"},"gitHead":"6280620a11120a1f612a8114c2cbf879dc245599","scripts":{"build":"tsc && tsc --project ./tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json","prebuild":"rimraf dist"},"typings":"dist/types/index.d.ts","_npmUser":{"name":"souljuse","email":"i.oppo@datocms.com"},"repository":{"url":"git+https://github.com/datocms/js-rest-api-clients.git","type":"git"},"_npmVersion":"lerna/4.0.0/node@v22.22.3+arm64 (darwin)","description":"Utilities to browse DatoCMS REST API reference documentation","directories":{"lib":"dist","test":"__tests__"},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"@apidevtools/json-schema-ref-parser":"^11.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/json-schema":"^7.0.15"},"_npmOperationalInternal":{"tmp":"tmp/rest-api-reference_5.8.0_1787585212242_0.8543165238999513","host":"s3://npm-registry-packages-npm-production"}},"6.1.0":{"name":"@datocms/rest-api-reference","version":"6.1.0","description":"Utilities to browse DatoCMS REST API reference documentation","keywords":["datocms","api","reference","documentation"],"author":{"name":"Stefano Verna","email":"s.verna@datocms.com"},"homepage":"https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-api-reference#readme","license":"MIT","main":"dist/cjs/index.js","module":"dist/esm/index.js","typings":"dist/types/index.d.ts","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./dist/*":"./dist/*","./src/*":"./src/*","./package.json":"./package.json"},"sideEffects":false,"directories":{"lib":"dist","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/datocms/js-rest-api-clients.git"},"scripts":{"build":"tsc && tsc --project ./tsconfig.esm.json && echo '{\"type\":\"module\"}' > dist/esm/package.json","prebuild":"rimraf dist"},"bugs":{"url":"https://github.com/datocms/js-rest-api-clients/issues"},"dependencies":{"@apidevtools/json-schema-ref-parser":"^11.7.0"},"gitHead":"ac4164968026ba62a2841d31d2b60c31eadb2cc8","devDependencies":{"@types/json-schema":"^7.0.15"},"_id":"@datocms/rest-api-reference@6.1.0","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-/w5RPZszQ+kxBx6azftXOr3ZfE+tNoF+gzs0AapdLzoPstm1oiBGqusv0EF+I77FnH9R+1Inw4WzDegYSMCgiQ==","shasum":"33613cb609017954494384d3344706c9387b1279","tarball":"https://registry.npmjs.org/@datocms/rest-api-reference/-/rest-api-reference-6.1.0.tgz","fileCount":88,"unpackedSize":145563,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCnOhYsArcS6DSUkaKvunt2p6XfYwhNPKykScm/7Hh2SAIhAKrDnvxLOgPnx1SovpnHw5BfpWG9hBPV9KuS2AeDT48V"}]},"_npmUser":{"name":"stefanoverna","email":"s.verna@datocms.com"},"maintainers":[{"name":"marcelofinamorvieira","email":"marcelofinamorvieira@gmail.com"},{"name":"stefanoverna","email":"s.verna@datocms.com"},{"name":"delphaber","email":"monti.fabrizio@gmail.com"},{"name":"mat_jack1","email":"m.giaccone@datocms.com"},{"name":"souljuse","email":"i.oppo@datocms.com"},{"name":"sistrall_","email":"silvano@datocms.com"},{"name":"datoroger","email":"r.tuan@datocms.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rest-api-reference_6.1.0_1788163592640_0.17499662386023784"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-09T13:05:16.698Z","modified":"2026-08-31T08:06:33.009Z","5.4.1":"2026-04-09T13:05:16.977Z","5.4.9":"2026-04-28T06:05:04.193Z","5.4.15":"2026-05-05T05:22:18.519Z","5.4.19":"2026-05-14T12:38:13.971Z","5.5.0-alpha.0":"2026-05-20T08:37:59.699Z","5.7.0":"2026-08-15T15:16:10.513Z","5.8.0":"2026-08-24T15:26:52.471Z","6.1.0":"2026-08-31T08:06:32.763Z"},"bugs":{"url":"https://github.com/datocms/js-rest-api-clients/issues"},"author":{"name":"Stefano Verna","email":"s.verna@datocms.com"},"license":"MIT","homepage":"https://github.com/datocms/js-rest-api-clients/tree/main/packages/rest-api-reference#readme","keywords":["datocms","api","reference","documentation"],"repository":{"type":"git","url":"git+https://github.com/datocms/js-rest-api-clients.git"},"description":"Utilities to browse DatoCMS REST API reference documentation","maintainers":[{"name":"marcelofinamorvieira","email":"marcelofinamorvieira@gmail.com"},{"name":"stefanoverna","email":"s.verna@datocms.com"},{"name":"delphaber","email":"monti.fabrizio@gmail.com"},{"name":"mat_jack1","email":"m.giaccone@datocms.com"},{"name":"souljuse","email":"i.oppo@datocms.com"},{"name":"sistrall_","email":"silvano@datocms.com"},{"name":"datoroger","email":"r.tuan@datocms.com"}],"readme":"[![Node.js CI](https://github.com/datocms/js-rest-api-clients/actions/workflows/node.js.yml/badge.svg)](https://github.com/datocms/js-rest-api-clients/actions/workflows/node.js.yml)\n\n# DatoCMS REST API Reference\n\nUtilities to browse [DatoCMS](https://www.datocms.com) REST API reference documentation programmatically. Fetches and dereferences the official hyperschema, parses the resources schema, and renders Markdown descriptions of resources and their actions.\n\n<br /><br />\n<a href=\"https://www.datocms.com/\">\n<img src=\"https://www.datocms.com/images/full_logo.svg\" height=\"60\">\n</a>\n<br /><br />\n\n## Installation\n\n```bash\nnpm install @datocms/rest-api-reference\n```\n\n## Usage\n\n```typescript\nimport {\n  fetchHyperschema,\n  parseResourcesSchema,\n  listResources,\n  describeResource,\n  describeResourceAction,\n} from '@datocms/rest-api-reference';\n\n// Fetch and dereference a hyperschema using a shorthand...\nconst hyperschema = await fetchHyperschema('cma');\n\n// ...or the dashboard API\nconst dashboardSchema = await fetchHyperschema('dashboard');\n\n// ...or a custom URL\nconst custom = await fetchHyperschema('https://example.com/schema.json');\n\n// Parse a resources.json file (shipped with @datocms/cma-client)\nconst resourcesSchema = parseResourcesSchema(rawResourcesJson);\n\n// List all available resources grouped by theme\nconst listing = listResources(hyperschema, resourcesSchema);\n\n// Describe a specific resource and its available actions\nconst resource = describeResource(hyperschema, resourcesSchema, 'items');\n\n// Describe a specific action with examples\nconst action = describeResourceAction(\n  hyperschema,\n  resourcesSchema,\n  'items',\n  'create',\n);\n```\n\n### Expanding `<details>` blocks\n\n`describeResource` and `describeResourceAction` accept an optional `expandDetails` parameter — an array of `<summary>` texts to expand. When provided, only matching `<details>` blocks are returned, fully open:\n\n```typescript\nconst expanded = describeResourceAction(\n  hyperschema,\n  resourcesSchema,\n  'items',\n  'create',\n  ['Example: Basic creation'],\n);\n```\n\n### Lower-level utilities\n\nThe package also exports finder functions and a Markdown builder:\n\n```typescript\nimport {\n  findHyperschemaEntity,\n  findHyperschemaLink,\n  findResourcesEntityByJsonApiType,\n  findResourcesEntityByNamespace,\n  findResourcesEndpointByRel,\n  render,\n  h1,\n  h2,\n  p,\n  ul,\n  li,\n  code,\n} from '@datocms/rest-api-reference';\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/datocms/js-rest-api-clients. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe package is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","readmeFilename":"README.md"}