{
  "opencollection": "1.0.0",
  "info": {
    "name": "Baserow API spec Admin Integrations API",
    "version": "2.2.2"
  },
  "items": [
    {
      "info": {
        "name": "Integrations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "list_application_integrations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/application/:application_id/integrations/",
            "params": [
              {
                "name": "application_id",
                "value": "",
                "type": "path",
                "description": "Returns only the integrations of the application related to the provided Id."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Lists all the integrations of the application related to the provided parameter if the user has access to the related application's workspace. If the workspace is related to a template, then this endpoint will be publicly accessible."
        },
        {
          "info": {
            "name": "create_application_integration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/application/:application_id/integrations/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "application_id",
                "value": "",
                "type": "path",
                "description": "Creates an integration for the application related to the provided value."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a new integration"
        },
        {
          "info": {
            "name": "update_application_integration",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/integration/:integration_id/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "integration_id",
                "value": "",
                "type": "path",
                "description": "The id of the integration"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Updates an existing integration."
        },
        {
          "info": {
            "name": "delete_application_integration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/integration/:integration_id/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "integration_id",
                "value": "",
                "type": "path",
                "description": "The id of the integration"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Deletes the integration related by the given id."
        },
        {
          "info": {
            "name": "move_application_integration",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/integration/:integration_id/move/",
            "headers": [
              {
                "name": "ClientSessionId",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "integration_id",
                "value": "",
                "type": "path",
                "description": "The id of the integration to move"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Moves the integration in the application before another integration or at the end of the application if no before integration is given. The integrations must belong to the same application."
        }
      ]
    }
  ],
  "bundled": true
}