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
* @prop {string=} params.authorization - Optional authorization token is a read-write token used to make authorized CMA requests, but it is a user-specific token.
43
+
* @example //Set the `authorization`
44
+
* import * as contentstack from '@contentstack/management'
* entry.reference = entry.reference.uid // for single reference pass reference uid to entry reference field value
84
+
* entry.multiple_reference = ['reference_uid_1', 'reference_uid_2'] // for multiple reference pass array of reference uid to entry reference field values
85
+
* entry.multiple_content_type_reference = [{_content_type_uid: 'content_type_uid_1', uid: 'reference_uid_1'}, {_content_type_uid: 'content_type_uid_2', uid: 'reference_uid_2'}] // for multiple reference pass array of reference uid to entry reference field values
86
+
* return entry.update({ locale: 'en-at' })
87
+
* })
88
+
* .then((entry) => console.log(entry))
61
89
*/
62
90
this.update=update(http,'entry')
63
91
@@ -185,6 +213,58 @@ export function Entry (http, data) {
185
213
throwerror(err)
186
214
}
187
215
}
216
+
217
+
/**
218
+
* @description The Set Entry Workflow Stage request allows you to either set a particular workflow stage of an entry or update the workflow stage details of an entry.
219
+
* @memberof Entry
220
+
* @func setWorkflowStage
221
+
* @returns {Promise<Object>} Response Object.
222
+
* @param {Object} publishing_rule Details for the publish request
223
+
* @param {String} locale Enter the code of the locale that the entry belongs to.
224
+
* @example
225
+
* import * as contentstack from '@contentstack/management'
* @description The Transfer stack ownership to other users call sends the specified user an email invitation for accepting the ownership of a particular stack.
0 commit comments