{ "opencollection": "1.0.0", "info": { "name": "Webex Admin Address Book Journey - Workspace management API API", "version": "1.0.0" }, "items": [ { "info": { "name": "Journey - Workspace management API", "type": "folder" }, "items": [ { "info": { "name": "Get Workspace", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/admin/v1/api/workspace/workspace-id/:workspaceId", "params": [ { "name": "workspaceId", "value": "6377dafe02e7cc19b03a71b7", "type": "path", "description": "Workspace ID" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webexapis.com/v1/authorize", "accessTokenUrl": "https://webexapis.com/v1/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get workspace details. Use the cjp scope if you have a contact center license; otherwise, use the cjds scope. It requires the appropriate cjds:admin_org_read or cjds:admin_org_write scopes or cjp:config_read or cjp:config_write scopes" }, { "info": { "name": "Update Workspace", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/admin/v1/api/workspace/workspace-id/:workspaceId", "params": [ { "name": "workspaceId", "value": "6377dafe02e7cc19b03a71b7", "type": "path", "description": "Workspace ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webexapis.com/v1/authorize", "accessTokenUrl": "https://webexapis.com/v1/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update workspace by Id. Use the cjp scope if you have a contact center license; otherwise, use the cjds scope. It requires the appropriate cjds:admin_org_write or cjp:config_write scopes" }, { "info": { "name": "Delete Workspace", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/admin/v1/api/workspace/workspace-id/:workspaceId", "params": [ { "name": "workspaceId", "value": "6377dafe02e7cc19b03a71b7", "type": "path", "description": "Workspace ID" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webexapis.com/v1/authorize", "accessTokenUrl": "https://webexapis.com/v1/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete Workspace By Id. Use the cjp scope if you have a contact center license; otherwise, use the cjds scope. It requires the appropriate cjds:admin_org_write or cjp:config_write scopes" }, { "info": { "name": "Get All Workspaces", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/admin/v1/api/workspace", "params": [ { "name": "filter", "value": "workspaces.name==Customer-Journey-Widget", "type": "query", "description": "Optional filter which can be applied to the elements to be fetched. \n\nThis parameter uses the RSQL query syntax, a URI-friendly format for expressing criteria for filtering REST entities. For more information about RSQL in general, see [this reference](https://developer.here.com/documentation/data-client-library/dev_guide/client/rsql.html). For a list of supported operators, see this [syntax guide](https://github.com/perplexhub/rsql-jpa-specification#rsql-syntax-reference)." }, { "name": "sortBy", "value": "name", "type": "query", "description": "Sort By Field" }, { "name": "sort", "value": "DESC", "type": "query", "description": "Sort direction" }, { "name": "page", "value": "0", "type": "query", "description": "Index of the page of results to be fetched.\n\nResults are returned in blocks of pageSize elements. This parameter specifies which page number to retrieve.The page numbering starts with 0." }, { "name": "pageSize", "value": "10", "type": "query", "description": "Number of items to be displayed on a page." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webexapis.com/v1/authorize", "accessTokenUrl": "https://webexapis.com/v1/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get All Workspaces. Use the cjp scope if you have a contact center license; otherwise, use the cjds scope. It requires the appropriate cjds:admin_org_read or cjds:admin_org_write scopes or cjp:config_read or cjp:config_write scopes" }, { "info": { "name": "Create Workspace", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/admin/v1/api/workspace", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://webexapis.com/v1/authorize", "accessTokenUrl": "https://webexapis.com/v1/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create Workspace in JDS. Use the cjp scope if you have a contact center license; otherwise, use the cjds scope.It requires the appropriate cjds:admin_org_write or cjp:config_write scopes" } ] } ], "bundled": true }