{
  "opencollection": "1.0.0",
  "info": {
    "name": "Helpcenter Activity API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Activity",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Delete spam activities",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/activities/emptySpam",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API deletes all spam activities."
        },
        {
          "info": {
            "name": "List ticket activities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/tickets/:ticketId/activities",
            "params": [
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Allowed values are : contacts, assignee,tickets,teams,projects,integInfo."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of activities to list"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "Index number, starting from which the activities must be fetched"
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query",
                "description": "Sort by a specific attribute: @activityTime@ or @createdTime@.The default sorting order is ascending. A @-@ prefix denotes descending order of sorting."
              },
              {
                "name": "isSpam",
                "value": "",
                "type": "query",
                "description": "Key that denotes whether to fetch spam activities or not"
              },
              {
                "name": "isCompleted",
                "value": "",
                "type": "query",
                "description": "Key that denotes whether the activity is completed or not"
              },
              {
                "name": "ticketId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API lists a particular number of activities associated with a ticket, based on the limit specified."
        }
      ]
    }
  ],
  "bundled": true
}