The new Cosmic dashboard is here!
Test drive it now →

New REST API Docs and NPM Module 🎉

Cosmic Blog
Cosmic Blog New REST API Docs and NPM Module 🎉
by Tony Spiro on January 17, 2018

We are excited to announce that we have completely rebuilt both our REST API docs and NPM module from the ground up.   This comes after weeks of development and gathering feedback from the Cosmic Community.  Thank you to everyone who helped us with this big release!


New REST API Docs

Our new REST API docs now live at https://cosmicjs.github.io/rest-api-docs.  The new design makes it a lot easier to find what you need, allowing you to toggle between bash and JavaScript code (more languages coming soon!).  We've also added more detail for powerful features such as Metafields, Webhooks and Extensions.


New NPM Module

Our new NPM module can be found at https://www.npmjs.com/package/cosmicjs.  It has been bumped to version 3.0 and features new Promise-based methods:

Authenticate

Add Bucket

Add Object

Get Objects

Add Media

View more methods available with the updated NPM module.

It is our goal to help teams build apps faster, and with these updates, we are happy to provide teams even more powerful tools for an even better developer experience.

Photo by Carl Cerstrand on Unsplash

You may also like


We've released some new features for the new dashboard that we are excited to share with you.

We have some exciting updates to share with you on the new Cosmic dashboard: global search and Object table filtering is now available!

For the last few months, we've been hard at work building an entirely new Cosmic dashboard. Built from the ground up, our new dashboard promises to be faster, easier to use, and more beautiful than any CMS dashboard you have ever seen.

We're excited to announce big updates to the new dashboard.

We've released some new features for the new dashboard that we are excited to share with you.

Jamstack is the newest stack innovation, and it's kicking old school app development to the curb. What's the Jamstack? How can you start using it?

Get started with Cosmic

Personal projects are free. Scale up as you grow.
Start building Talk to sales