paint-brush
Creating Extendable Content Objects Served via APIby@carsoncgibbons
165 reads

Creating Extendable Content Objects Served via API

by Carson GibbonsNovember 7th, 2016
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this blog I will show you how to create an extendable content object in 4 Steps using the <a href="https://cosmicjs.com/" target="_blank">Cosmic JS</a> 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 <a href="https://cosmicjs.com/signup" target="_blank">Sign Up</a> for <a href="https://cosmicjs.com/" target="_blank">Cosmic JS</a> and begin the demo. If you’re just starting out with Cosmic JS, I’d recommend reviewing the <a href="https://cosmicjs.com/getting-started" target="_blank">Getting Started </a>and <a href="https://cosmicjs.com/docs" target="_blank">Documentation</a> Pages. I’ll be using the <a href="https://cosmicjs.com/" target="_blank">Cosmic JS CMS Web Application</a> as I walk through the 4 steps.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Creating Extendable Content Objects Served via API
Carson Gibbons HackerNoon profile picture

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