{
  "opencollection": "1.0.0",
  "info": {
    "name": "Helpcenter Community API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Community",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get community topic attachment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/communityTopics/:topicId/attachments/:attachmentId/content",
            "params": [
              {
                "name": "topicId",
                "value": "",
                "type": "path"
              },
              {
                "name": "attachmentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API fetches a file attachment from a topic."
        },
        {
          "info": {
            "name": "Topic voters trend",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/communityTopics/:topicId/voters/trend",
            "params": [
              {
                "name": "startTime",
                "value": "",
                "type": "query",
                "description": "Starting time of the time range for which the statistics should be fetched. The value must be expressed according to the GMT time zone."
              },
              {
                "name": "endTime",
                "value": "",
                "type": "query",
                "description": "Ending time of the time range for which the statistics should be fetched. The value must be expressed according to the GMT time zone."
              },
              {
                "name": "topicId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "To get trend of voters of a topic"
        },
        {
          "info": {
            "name": "Trash community topic",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/communityTopics/:topicId/moveToTrash",
            "params": [
              {
                "name": "topicId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API moves a forum topic to trash of your help desk portal."
        },
        {
          "info": {
            "name": "Get community topic reply attachment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/communityTopics/:topicId/replies/:replyId/attachments/:attachmentId/content",
            "params": [
              {
                "name": "topicId",
                "value": "",
                "type": "path"
              },
              {
                "name": "replyId",
                "value": "",
                "type": "path"
              },
              {
                "name": "attachmentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API fetches a file attachment from a reply to a topic comment."
        },
        {
          "info": {
            "name": "Lock community topic",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/communityTopics/:topicId/lock",
            "params": [
              {
                "name": "topicId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API helps lock a forum topic, so that further user actions are restricted."
        },
        {
          "info": {
            "name": "Get community topic comment attachment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/communityTopics/:topicId/comments/:commentId/attachments/:attachmentId/content",
            "params": [
              {
                "name": "topicId",
                "value": "",
                "type": "path"
              },
              {
                "name": "commentId",
                "value": "",
                "type": "path"
              },
              {
                "name": "attachmentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API fetches a file attachment from a topic comment."
        }
      ]
    }
  ],
  "bundled": true
}