{
  "opencollection": "1.0.0",
  "info": {
    "name": "Spiceworks Cloud Apps Comments Tickets API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "implicit",
      "authorizationUrl": "https://community.spiceworks.com/oauth/authorize",
      "credentials": {
        "clientId": "{{clientId}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Tickets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Help Desk Tickets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://community.spiceworks.com/api/v1/tickets",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter tickets by status"
              },
              {
                "name": "assigned_to",
                "value": "",
                "type": "query",
                "description": "Filter by assigned technician ID"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of tickets per page"
              }
            ]
          },
          "docs": "Retrieves a paginated list of Help Desk tickets from the Spiceworks platform. Results can be filtered by status, assignee, and other ticket attributes. Returns ticket summaries including ID, summary, status, priority, assignee, and timestamps."
        },
        {
          "info": {
            "name": "Create Help Desk Ticket",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://community.spiceworks.com/api/v1/tickets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new Help Desk ticket in the Spiceworks platform. The ticket is associated with the authenticated user's Spiceworks account. Required fields include summary and optionally a description, priority level, and assignee."
        },
        {
          "info": {
            "name": "Get Help Desk Ticket",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://community.spiceworks.com/api/v1/tickets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the ticket"
              }
            ]
          },
          "docs": "Retrieves the full details of a specific Help Desk ticket by its ID, including summary, description, status, priority, assignee, creator, and all associated comments and attachments."
        },
        {
          "info": {
            "name": "Update Help Desk Ticket",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://community.spiceworks.com/api/v1/tickets/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the ticket"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing Help Desk ticket. Allows changing status, priority, assignee, summary, description, and other ticket attributes. Only fields included in the request body are updated."
        }
      ]
    }
  ],
  "bundled": true
}