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
* Organization is the top-level entity in the hierarchy of Contentstack, consisting of stacks and stack resources, and users. Organization allows easy management of projects as well as users within the Organization. Read more about <a href='https://www.contentstack.com/docs/guide/organization'>Organizations.</a>.
@@ -37,10 +37,10 @@ export function Organization (http, data) {
37
37
* @description The Get all stacks in an organization call fetches the list of all stacks in an Organization.
38
38
* @memberof Organization
39
39
* @func stacks
40
-
* @param {Int} limit The limit parameter will return a specific number of roles in the output.
41
-
* @param {Int} skip The skip parameter will skip a specific number of roles in the output.
42
-
* @param {String} asc When fetching roles, you can sort them in the ascending order with respect to the value of a specific field in the response body.
43
-
* @param {String} desc When fetching roles, you can sort them in the decending order with respect to the value of a specific field in the response body.
40
+
* @param {Int} limit The limit parameter will return a specific number of stacks in the output.
41
+
* @param {Int} skip The skip parameter will skip a specific number of stacks in the output.
42
+
* @param {String} asc When fetching stacks, you can sort them in the ascending order with respect to the value of a specific field in the response body.
43
+
* @param {String} desc When fetching stacks, you can sort them in the decending order with respect to the value of a specific field in the response body.
44
44
* @param {Boolean} include_count To retrieve the count of stack.
45
45
* @param {String} typeahead The type head contains value to be included in search.
46
46
* @returns {ContentstackCollection} Instance of ContentstackCollection.
@@ -207,12 +207,12 @@ export function Organization (http, data) {
207
207
* @description The Get all organizations call lists all organizations related to the system user in the order that they were created.
208
208
* @memberof Organization
209
209
* @func fetchAll
210
-
* @param {Int} limit The limit parameter will return a specific number of roles in the output.
211
-
* @param {Int} skip The skip parameter will skip a specific number of roles in the output.
212
-
* @param {String} asc When fetching roles, you can sort them in the ascending order with respect to the value of a specific field in the response body.
213
-
* @param {String} desc When fetching roles, you can sort them in the decending order with respect to the value of a specific field in the response body.
214
-
* @param {Boolean}include_count To retrieve the count of roles.
215
-
* @param {String} typeahead The type head contains value to be included in search.
210
+
* @param {Int} limit TThe ‘limit’ parameter will return a specific number of organizations in the output.
211
+
* @param {Int} skip The ‘skip’ parameter will skip a specific number of organizations in the output.
212
+
* @param {String} asc The ‘asc’ parameter allows you to sort the list of organizations in the ascending order with respect to the value of a specific field.
213
+
* @param {String} desc The ‘desc’ parameter allows you to sort the list of Organizations in the descending order with respect to the value of a specific field.
214
+
* @param {Boolean}include_count The ‘include_count’ parameter returns the total number of organizations related to the user.
215
+
* @param {String} typeahead The typeahead parameter is a type of filter that allows you to perform a name-based search on all organizations based on the value provided.
216
216
* @returns {ContentstackCollection} Result collection of content of specified module.
217
217
* @example
218
218
* import * as contentstack from '@contentstack/management'
Copy file name to clipboardExpand all lines: lib/stack/index.js
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ import { Asset } from './asset'
11
11
import{Locale}from'./locale'
12
12
import{Extension}from'./extension'
13
13
import{Webhook}from'./webhook'
14
+
import{Workflow}from'./workflow'
14
15
import{Release}from'./release'
15
16
import{BulkOperation}from'./bulkOperation'
16
17
import{Label}from'./label'
@@ -221,6 +222,29 @@ export function Stack (http, data) {
221
222
returnnewExtension(http,data)
222
223
}
223
224
225
+
226
+
/**
227
+
* @description Workflow is a tool that allows you to streamline the process of content creation and publishing, and lets you manage the content lifecycle of your project smoothly.
228
+
* @param {String} workflowUid The UID of the Workflow you want to get details.
229
+
* @returns {Workflow} Instace of Workflow.
230
+
* @example
231
+
* import * as contentstack from '@contentstack/management'
Copy file name to clipboardExpand all lines: lib/stack/webhook/index.js
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -165,11 +165,11 @@ export function Webhook (http, data = {}) {
165
165
* @description The Get all Webhook call lists all Webhooks from Stack.
166
166
* @memberof Webhook
167
167
* @func fetchAll
168
-
* @param {Int} limit The limit parameter will return a specific number of roles in the output.
169
-
* @param {Int} skip The skip parameter will skip a specific number of roles in the output.
170
-
* @param {String} asc When fetching roles, you can sort them in the ascending order with respect to the value of a specific field in the response body.
171
-
* @param {String} desc When fetching roles, you can sort them in the decending order with respect to the value of a specific field in the response body.
172
-
* @param {Boolean}include_count To retrieve the count of roles.
168
+
* @param {Int} limit The limit parameter will return a specific number of webhooks in the output.
169
+
* @param {Int} skip The skip parameter will skip a specific number of webhooks in the output.
170
+
* @param {String} asc When fetching webhooks, you can sort them in the ascending order with respect to the value of a specific field in the response body.
171
+
* @param {String} desc When fetching webhooks, you can sort them in the decending order with respect to the value of a specific field in the response body.
172
+
* @param {Boolean}include_count To retrieve the count of webhooks.
173
173
* @returns {ContentstackCollection} Result collection of content of specified module.
174
174
* @example
175
175
* import * as contentstack from '@contentstack/management'
0 commit comments