1. Filter Workflows by Content-type

Filter Workflows by Content-type

You can filter workflows in a space, using their content-type parameter in the workflow object.


spaces/:space_id/workflows?by_content_type=:content_type

Path Parameters

  • :space_id

    number

    Numeric id of a space

Query Parameters

  • content_type

    string

    Retrieve stories of a specific content type. Example: content_type=page

Response Properties

  • workflow

    Custom Workflow Object

    An array of workflow objects

    • id

      number

      The numeric ID

    • content_types

      string

      Array of content types associated with this workflow

    • is_default

      boolean

      Boolean to set as the default workflow

    • name

      string

      Workflow name

Endpoint
GET /v1/spaces/:space_id/workflows?by_content_type=:content_type