{
  "opencollection": "1.0.0",
  "info": {
    "name": "Accelo REST Activities API",
    "version": "v0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://{deployment}.api.accelo.com/oauth2/v0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Activities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List activities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{deployment}.api.accelo.com/api/v0/activities"
          },
          "docs": "List activities"
        },
        {
          "info": {
            "name": "Create an activity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{deployment}.api.accelo.com/api/v0/activities"
          },
          "docs": "Create an activity"
        },
        {
          "info": {
            "name": "Retrieve a specific activity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{deployment}.api.accelo.com/api/v0/activities/:activity_id"
          },
          "docs": "Retrieve a specific activity"
        },
        {
          "info": {
            "name": "Update an activity",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{deployment}.api.accelo.com/api/v0/activities/:activity_id"
          },
          "docs": "Update an activity"
        },
        {
          "info": {
            "name": "Delete an activity",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{deployment}.api.accelo.com/api/v0/activities/:activity_id"
          },
          "docs": "Delete an activity"
        },
        {
          "info": {
            "name": "List interactions for an activity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{deployment}.api.accelo.com/api/v0/activities/:activity_id/interactions"
          },
          "docs": "List interactions for an activity"
        },
        {
          "info": {
            "name": "List threads for an activity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{deployment}.api.accelo.com/api/v0/activities/:activity_id/threads"
          },
          "docs": "List threads for an activity"
        }
      ]
    }
  ],
  "bundled": true
}