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


Looking to shortlist some headless content management systems? Our comprehensive list will help you narrow down the growing headless CMS landscape.

We released our additional users Add-on a few weeks ago and it has become one of the most popular products. We think customers really like the flexibility it gives their team to upgrade just a portion of their usage plan instead of jumping up to the next plan. With that flexibility in mind, we are happy to offer two more add-ons to help you get the most out of Cosmic while allowing more billing flexibility.

Both Gatsby and Next.js are among the most popular frameworks for websites and online applications. In this article, we’re going to compare Gatsby vs. Next.js to help you choose the right framework for your next web project. We’ll talk about how they handle data and render static websites.

In this episode of the Cosmic Developer Spotlight Series, we chatted with Lydia Hallie, remote software developer and active contributor on Dev.to. She has been getting a lot of attention for her easy-to-follow (and beautifully visual!) educational resources for JavaScript. Follow Lydia on Twitter, GitHub, LinkedIn, and enjoy the conversation.

At Cosmic, it's our mission to help teams of developers and content creators build great content-powered apps together. We're happy to announce the new Additional Users Add-On to offer a flexible pricing option for growing teams.

We’re excited to announce the official release of Gatsby Preview for Cosmic that enables you to add powerful content preview functionality to your Cosmic Gatsby website.

Get Started with Cosmic

Build personal projects for free. Add your team at unbeatable prices.
Start Building Talk to Sales