You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -148,7 +148,7 @@ export function Organization (http, data) {
148
148
* @description The Resend pending organization invitation call allows you to resend Organization invitations to users who have not yet accepted the earlier invitation.
149
149
* @memberof Organization
150
150
* @func resendInvitition
151
-
* @returns {String} Success message of invitation send.
151
+
* @returns {Object} Response Object.
152
152
* @example
153
153
* import * as contentstack from 'contentstack'
154
154
* const client = contentstack.client({})
@@ -161,7 +161,7 @@ export function Organization (http, data) {
Copy file name to clipboardExpand all lines: lib/stack/asset/index.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ export function Asset (http, data = {}) {
51
51
* @description The Delete asset call will delete an existing asset from the stack.
52
52
* @memberof Asset
53
53
* @func delete
54
-
* @returns {String} Success message.
54
+
* @returns {Object} Response Object.
55
55
* @example
56
56
* import * as contentstack from 'contentstack'
57
57
* const client = contentstack.client({})
@@ -109,7 +109,7 @@ export function Asset (http, data = {}) {
109
109
* @description The Publish an asset call is used to publish a specific version of an asset on the desired environment either immediately or at a later date/time.
110
110
* @memberof Asset
111
111
* @func publish
112
-
* @returns {Promise<String>} Notice for success message.
112
+
* @returns {Promise<Object>} Response Object.
113
113
* @example
114
114
* import * as contentstack from 'contentstack'
115
115
* const client = contentstack.client({})
@@ -133,7 +133,7 @@ export function Asset (http, data = {}) {
133
133
* @description The Replace asset call will replace an existing asset with another file on the stack.
134
134
* @memberof Asset
135
135
* @func unpublish
136
-
* @returns {Promise<String>} Notice for success message.
Copy file name to clipboardExpand all lines: lib/stack/bulkOperation/index.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ export function BulkOperation (http, data = {}) {
12
12
* The Publish entries and assets in bulk request allows you to publish multiple entries and assets at the same time.
13
13
* @memberof BulkOperation
14
14
* @func publish
15
-
* @returns {Promise<String>} Success message
15
+
* @returns {Promise<Object>} Response Object.
16
16
* @param {Boolean} params.details - Set this with details containing 'entries', 'assets', 'locales', and 'environments' to which you want to publish the entries or assets.
17
17
* @param {Boolean} params.skip_workflow_stage_check Set this to 'true' to publish the entries that are at a workflow stage where they satisfy the applied publish rules.
18
18
* @param {Boolean} params.approvals Set this to 'true' to publish the entries that do not require an approval to be published.
@@ -66,7 +66,7 @@ export function BulkOperation (http, data = {}) {
66
66
* The Unpublish entries and assets in bulk request allows you to unpublish multiple entries and assets at the same time.
67
67
* @memberof BulkOperation
68
68
* @func unpublish
69
-
* @returns {Promise<String>} Success message
69
+
* @returns {Promise<Object>} Response Object.
70
70
* @param {Boolean} params.details - Set this with details containing 'entries', 'assets', 'locales', and 'environments' to which you want to unpublish the entries or assets. If you do not specify a source locale, the entries or assets will be unpublished in the master locale automatically.
71
71
* @param {Boolean} params.skip_workflow_stage_check Set this to 'true' to publish the entries that are at a workflow stage where they satisfy the applied publish rules.
72
72
* @param {Boolean} params.approvals Set this to 'true' to publish the entries that do not require an approval to be published.
0 commit comments