{
  "opencollection": "1.0.0",
  "info": {
    "name": "Secret Server Rest Activations WorkflowTemplates API",
    "version": "11.7.2"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "WorkflowTemplates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search Workflow Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/SecretServer/api/v1/workflows/templates",
            "params": [
              {
                "name": "filter.includeInactive",
                "value": "",
                "type": "query",
                "description": "IncludeInactive"
              },
              {
                "name": "filter.workflowType",
                "value": "",
                "type": "query",
                "description": "WorkflowType"
              },
              {
                "name": "skip",
                "value": "",
                "type": "query",
                "description": "Number of records to skip before taking results"
              },
              {
                "name": "sortBy[0].direction",
                "value": "",
                "type": "query",
                "description": "Sort direction"
              },
              {
                "name": "sortBy[0].name",
                "value": "",
                "type": "query",
                "description": "Sort field name"
              },
              {
                "name": "sortBy[0].priority",
                "value": "",
                "type": "query",
                "description": "Priority index. Sorts with lower values are executed earlier"
              },
              {
                "name": "take",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to include in results"
              }
            ]
          },
          "docs": "Search, filter, sort, and page Workflow Templates."
        },
        {
          "info": {
            "name": "Create a Workflow Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/SecretServer/api/v1/workflows/templates",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new Workflow Template."
        },
        {
          "info": {
            "name": "Get a Workflow Template Stub",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/SecretServer/api/v1/workflows/templates/stub"
          },
          "docs": "Get an empty Workflow Template."
        },
        {
          "info": {
            "name": "Get a Workflow Template",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/SecretServer/api/v1/workflows/templates/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Workflow Template Id"
              }
            ]
          },
          "docs": "Request a specific Workflow Template by ID."
        },
        {
          "info": {
            "name": "Update a Workflow Template",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "/SecretServer/api/v1/workflows/templates/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Workflow Template ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a single Workflow Template by ID."
        },
        {
          "info": {
            "name": "Get a Workflow Template Audit List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/SecretServer/api/v1/workflows/templates/:id/audits",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Workflow Template Id"
              },
              {
                "name": "isExporting",
                "value": "",
                "type": "query",
                "description": "isExporting"
              },
              {
                "name": "skip",
                "value": "",
                "type": "query",
                "description": "Number of records to skip before taking results"
              },
              {
                "name": "sortBy[0].direction",
                "value": "",
                "type": "query",
                "description": "Sort direction"
              },
              {
                "name": "sortBy[0].name",
                "value": "",
                "type": "query",
                "description": "Sort field name"
              },
              {
                "name": "sortBy[0].priority",
                "value": "",
                "type": "query",
                "description": "Priority index. Sorts with lower values are executed earlier"
              },
              {
                "name": "take",
                "value": "",
                "type": "query",
                "description": "Maximum number of records to include in results"
              }
            ]
          },
          "docs": "Search, filter, sort, and page Workflow Template Audits."
        },
        {
          "info": {
            "name": "Count of Entities using a Workflow Template",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/SecretServer/api/v1/workflows/templates/:id/entities/:includeAll",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Workflow Template Id"
              },
              {
                "name": "includeAll",
                "value": "",
                "type": "path",
                "description": "includeAll"
              }
            ]
          },
          "docs": "Request the number of entities that use the Workflow Template."
        },
        {
          "info": {
            "name": "Cancel Workflow Requests",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/SecretServer/api/v1/workflows/templates/:id/cancel-requests",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Workflow Template Id"
              }
            ]
          },
          "docs": "Cancel all Workflow Requests that are using the provided Workflow Template."
        }
      ]
    }
  ],
  "bundled": true
}