List All Workflows

get

/content/management/api/v1.1/workflows

List all Workflows.

Request

Query Parameters
  • This parameter is used to control the returned fields in each workflow in the list. This parameter accepts a comma-separated list of field names or all. These fields will be returned for each workflow in the list. All the field names are case-sensitive, users must provide the correct field names in the query. Each workflow has both standard fields (id, name, description, applicationName, revision, source, externalId, isEnabled, createdBy, createdDate, updatedBy, updatedDate) and additional fields (repositories, roles, properties)' When fields is specified as all (in lower case), all the standard and additional fields are returned. The standard fields are always returned in the response and cannot be filtered out. The user can filter out only the additional fields. This parameter is optional in the query, and by default the result shows only standard fields in the response. Any incorrect or invalid field name given in the query will throw an error.

    Example: ?fields=repositories,roles,properties
    This returns all standard fields along with the repositories , properties and roles additional fields for each workflow.
    Example: ?fields=all
    This will return all standard fields and all additional fields for each workflow.
  • This parameter accepts a non negative integer and is used to control the size of the result.
    Default Value: 100
  • This parameter accepts a non negative integer and is used to control the start index of the result.
    Default Value: 0
  • This parameter is used to control order of results. The value of this query parameter follow the format of fieldName:[asc/desc]. asc stands for ascending order desc stands for descending order, default order is asc.The only fields allowed in the field name are name and updatedDate.
    Default Value: name:asc
  • This parameter accepts a query expression condition that matches the field values. Many such query conditions can be joined using AND/OR operators and grouped with parentheses. The value of query condition follows the format of {fieldName} {operator} "{fieldValue}". ???isEnabled eq "true" or isEnabled eq "false" and/or roleName eq "viewer or contributor or manager" and/or name co "workflowName" and/or repositoryId eq "RepoId" are the conditions supported in this version. All the field names are optional. roleName defaults to roleName eq "viewer" which filters the workflows with at least given role. name is interpreted in the context of the resource being requested. For eg. name for workflows implies workflow name.
    Example:
    ?q=isEnabled eq "true")
    Default Value: roleName eq "viewer"
  • This parameter accepts a boolean flag. If specified as true, then the returned result must include the total result count.
    Default Value: false
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : Workflows
Type: object
Workflows
Show Source
Nested Schema : aggregationResults
Type: array
Aggregation results.
Show Source
Nested Schema : items
Type: array
Singular resources contained in the collection.
Show Source
Nested Schema : pinned
Type: array
Pinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : AggregationResult
Type: object
Show Source
Nested Schema : Workflow
Type: object
Workflow
Show Source
Nested Schema : date
Type: object
date
Show Source
Nested Schema : properties
Type: object
Additional Properties Allowed
Show Source
Properties of a workflow.
Nested Schema : repositories
Type: array
Assigned repositories of a workflow.
Show Source
Nested Schema : roles
Type: array
Roles of a workflow.
Show Source
Nested Schema : additionalProperties
Type: object
Nested Schema : RepositoryId
Type: object
RepositoryId
Show Source

304 Response

Not modified.

400 Response

Bad request.

500 Response

Internal server error.
Back to Top