{
  "opencollection": "1.0.0",
  "info": {
    "name": "Skyvia Public API — Automations",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Automations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get automations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.skyvia.com/v1/workspaces/:workspaceId/automations",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace Id"
              },
              {
                "name": "skip",
                "value": "",
                "type": "query",
                "description": "Items to skip [0...]"
              },
              {
                "name": "take",
                "value": "",
                "type": "query",
                "description": "Items to take [1..200]"
              }
            ]
          },
          "docs": "Get automations"
        },
        {
          "info": {
            "name": "GET /v1/workspaces/{workspaceId}/automations/{automationId}",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.skyvia.com/v1/workspaces/:workspaceId/automations/:automationId",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "automationId",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "Get finished executions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.skyvia.com/v1/workspaces/:workspaceId/automations/:automationId/executions",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "automationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "startDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query"
              },
              {
                "name": "failed",
                "value": "",
                "type": "query"
              },
              {
                "name": "skip",
                "value": "",
                "type": "query",
                "description": "Items to skip [0...]"
              },
              {
                "name": "take",
                "value": "",
                "type": "query",
                "description": "Items to take [1..200]"
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "To sort the available list of records in either ascending or descending order. Possible values: asc - ascending order, desc - descending order.The default value is 'asc'."
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query",
                "description": "To sort the records based on the fields: date, executionId. The default value is 'date'"
              }
            ]
          },
          "docs": "Get finished executions"
        },
        {
          "info": {
            "name": "GET /v1/workspaces/{workspaceId}/automations/{automationId}/executions/{executionId}",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.skyvia.com/v1/workspaces/:workspaceId/automations/:automationId/executions/:executionId",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "automationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "executionId",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "GET /v1/workspaces/{workspaceId}/automations/{automationId}/state",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.skyvia.com/v1/workspaces/:workspaceId/automations/:automationId/state",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "automationId",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "GET /v1/workspaces/{workspaceId}/automations/{automationId}/active",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.skyvia.com/v1/workspaces/:workspaceId/automations/:automationId/active",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "automationId",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "POST /v1/workspaces/{workspaceId}/automations/{automationId}/enable",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.skyvia.com/v1/workspaces/:workspaceId/automations/:automationId/enable",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "automationId",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "POST /v1/workspaces/{workspaceId}/automations/{automationId}/disable",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.skyvia.com/v1/workspaces/:workspaceId/automations/:automationId/disable",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "automationId",
                "value": "",
                "type": "path"
              }
            ]
          }
        }
      ]
    }
  ],
  "bundled": true
}