Get a list of workflows with name

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Get a list of workflows with name,versionId and workflowId

Request URL

https://{serverurl}/intelligence/api/deployments/resources/1/publishedResources Copied!

Scope

DesktopCentralCloud.DEX.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/publishedResources.v1+jsonapplication/publishedResources.v1+jsonCopied!

- Query Parameters

offsetstringOptional

Pagination offset. Default: 1. Range: 0-100

limitstringOptional

Maximum number of results per page. Default: 30. Range: 0-100

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomains/intelligence/api/deployments/resources/1/publishedResources \
  --header 'Accept: application/publishedResources.v1+json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 202

Response Body - application/json
JSON Object
Hide Sub-Attributes
resourceIdlong

Unique ID of the resource

resourceNamestring

Name of the published resource

resourceVersionIdlong

Version ID of the published resource

statusstring

Status of the resource: 1 = Active

descriptionstring

Description of the resource

- HTTP code 500

Response Body - application/json
JSON Object
Hide Sub-Attributes
statusCodestring

HTTP status code (500)

errorCodestring

Internal error code identifying the server-side failure

messagestring

Error message describing the server-side failure

Sample Response: HTTP 202

Published workflows available for deployment (resourceType=1)

Copied!
  [
    {
      "resourceId": 5001,
      "description": "Automatically applies patches",
      "resourceName": "Auto Patch Workflow",
      "resourceVersionId": 8001,
      "status": 1
    }
  ]
                
▼ Show full

Sample Response: HTTP 500

Server error while fetching resources

Copied!
  {
    "errorMessage": "An internal error occurred.",
    "errorCode": "INTERNAL_ERROR"
  }
                
▼ Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.