Skip to content

Commit 5e36963

Browse files
Merge pull request #17 from contentstack/contenttype-methods
API implementation for Content Types information
2 parents 4673fd2 + 75f038a commit 5e36963

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
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

js-sdk-reference/Stack.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ <h4 class="name" id="fetch"><span class="type-signature"></span>fetch<span class
13021302

13031303

13041304
<div class="description">
1305-
This method will returns information of a specific content type. It returns the content type schema.
1305+
This method returns the complete information of a specific content type.
13061306
</div>
13071307

13081308

@@ -1660,7 +1660,7 @@ <h4 class="name" id="getContentTypes"><span class="type-signature"></span>getCon
16601660

16611661

16621662
<div class="description">
1663-
getContentTypes method returns comprehensive information of all the content types available in a particular stack in your account.
1663+
This method returns comprehensive information of all the content types of a particular stack in your account.
16641664
</div>
16651665

16661666

js-sdk-reference/stack.js.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ <h1 class="page-title">stack.js</h1>
301301
/**
302302
* @method fetch
303303
* @memberOf Stack
304-
* @description This method will returns information of a specific content type. It returns the content type schema.
304+
* @description This method returns the complete information of a specific content type.
305305
* @example
306306
* let single_contenttype = Stack.ContentType(content_type_uid).fetch()
307307
* single_contenttype
@@ -390,7 +390,7 @@ <h1 class="page-title">stack.js</h1>
390390
/**
391391
* @method getContentTypes
392392
* @memberOf Stack
393-
* @description getContentTypes method returns comprehensive information of all the content types available in a particular stack in your account.
393+
* @description This method returns comprehensive information of all the content types of a particular stack in your account.
394394
* @example Stack.getContentTypes()
395395
* @example
396396
* let data = Stack.getContentTypes()

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)