Creating Extendable Content Objects Served via API

Carson Gibbons
HackerNoon.com
Published in
3 min readNov 7, 2016

--

In this blog I will show you how to create an extendable content object in 4 Steps using the Cosmic JS Content Management Platform. Once my object is created, it is available via API endpoint. The following 4 steps are an easy way to create new extendable objects for your web-connected application, so I would encourage you to Sign Up for Cosmic JS and begin the demo. If you’re just starting out with Cosmic JS, I’d recommend reviewing the Getting Started and Documentation Pages. I’ll be using the Cosmic JS CMS Web Application as I walk through the 4 steps.

Once you’ve signed up, you will be prompted to Create a New Bucket, which you can think of as your project: your new website, your new iOS application or your new Android application. I created my bucket and created an Object Type called “Page”. Below you can see how I created a page of content that can be delivered via API to any web-connected device.

1.1 Adding an Object — Object Title

1.2 Adding an Object — Auto-Generated Slug

2. Adding an Object’s Content

3. Adding Metafields To Your Object

4. Saving Object Draft | Publishing Object

Cosmic JS is an API-first cloud-based content management platform that makes it easy to manage applications and content. If you have questions about the Cosmic JS API, please reach out to the founders on Twitter or Slack.

Read More

Hacker Noon is how hackers start their afternoons. We’re a part of the @AMI family. We are now accepting submissions and happy to discuss advertising & sponsorship opportunities.

If you enjoyed this story, we recommend reading our latest tech stories and trending tech stories. Until next time, don’t take the realities of the world for granted!

--

--

Carson Gibbons
HackerNoon.com

Traveler | Podcaster | Director of Sales at Preciate.org Prev: @cosmic_js | carsongibbons.com | IG: @carsongibbons