Skip to content

Commit 6732f71

Browse files
Merge pull request #17 from contentstack/contenttype-methods
API implementation for Content Types information
2 parents e4214ab + ba9fcb8 commit 6732f71

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/node/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const ContentstackDemo = require('./contentstack-demo.js')
44

55
//const Demo = new ContentstackDemo({ 'api_key': "blt292960b854e5170e", 'access_token': "blt468d2af41a0f061c", 'environment': "development"})
6-
const Demo = new ContentstackDemo({ 'api_key': "blt477ba55f9a67bcdf", 'access_token': "cs7731f03a2feef7713546fde5", 'environment': "web"})
6+
const Demo = new ContentstackDemo({ 'api_key': "", 'access_token': "", 'environment': ""})
77

88

99
//get all the entries

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "contentstack",
3-
"version": "3.5.2",
3+
"version": "3.6.0",
44
"description": "Contentstack Javascript SDK",
55
"homepage": "https://www.contentstack.com/",
66
"author": {

src/core/stack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export default class Stack {
252252
/**
253253
* @method fetch
254254
* @memberOf Stack
255-
* @description This method will returns information of a specific content type. It returns the content type schema.
255+
* @description This method returns the complete information of a specific content type.
256256
* @example
257257
* let single_contenttype = Stack.ContentType(content_type_uid).fetch()
258258
* single_contenttype
@@ -341,7 +341,7 @@ export default class Stack {
341341
/**
342342
* @method getContentTypes
343343
* @memberOf Stack
344-
* @description getContentTypes method returns comprehensive information of all the content types available in a particular stack in your account.
344+
* @description This method returns comprehensive information of all the content types of a particular stack in your account.
345345
* @example Stack.getContentTypes()
346346
* @example
347347
* let data = Stack.getContentTypes()

0 commit comments

Comments
 (0)