{
  "opencollection": "1.0.0",
  "info": {
    "name": "SpotDraft V1 Contract APIs V2.1 Contract Activity API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "V2.1 Contract Activity",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Comments in Contract Activity Log.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.eu.spotdraft.com/api/v2.1/public/contracts/:contract_id/comments/",
            "params": [
              {
                "name": "contract_id",
                "value": "",
                "type": "path",
                "description": "ID of the Contract."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of items to return per page."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page to return. Page numbers start at 1."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "client-id",
              "value": "{{client-id}}",
              "placement": "header"
            }
          },
          "docs": "Returns contract activity-log comments and replies in reverse chronological order. Use pagination to fetch older discussion threads."
        },
        {
          "info": {
            "name": "Add Comment to Contract Activity Log.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.eu.spotdraft.com/api/v2.1/public/contracts/:contract_id/comments/",
            "params": [
              {
                "name": "contract_id",
                "value": "",
                "type": "path",
                "description": "ID of the Contract."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "client-id",
              "value": "{{client-id}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new activity-log comment on the contract. Mentions are supported with the documented `!!@{user_id}!!` syntax."
        }
      ]
    }
  ],
  "bundled": true
}