{
  "opencollection": "1.0.0",
  "info": {
    "name": "Helpcenter PinnedConversation API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "PinnedConversation",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Unpin a ticket's pin",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/tickets/:ticketId/pins/unpin",
            "params": [
              {
                "name": "ticketId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API deletes one or more pins from a ticket."
        },
        {
          "info": {
            "name": "Get pins of a ticket",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/tickets/:ticketId/pins",
            "params": [
              {
                "name": "types",
                "value": "",
                "type": "query",
                "description": "The type of pins to fetch as a comma separated list. The allowed values are @comments@ and @threads@"
              },
              {
                "name": "ticketId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "This API fetches the list of pins of a particular ticket."
        },
        {
          "info": {
            "name": "Create a pin on the ticket",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/tickets/:ticketId/pins",
            "params": [
              {
                "name": "ticketId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API creates a new pin on the ticket."
        }
      ]
    }
  ],
  "bundled": true
}