Create support ticket

Changed on

Creates a new support ticket

post/tickets

Request

  • Base URL
    https://api.jsr.io
  • Auth
    HTTP bearer

Request body

kind'user_scope_quota_increase' | 'scope_package_quota_increase' | 'other' required

The kind of support ticket.

metaobject required

Additional metadata for the ticket.

messagestring required

The initial message for the ticket.

Response

OK

idstring uuid required

The ID of the ticket.

kind'user_scope_quota_increase' | 'scope_package_quota_increase' | 'other' required

The kind of support ticket.

metaobject required

Additional metadata for the ticket.

closedboolean required

Whether the ticket is closed.

updatedAtstring date-time required

The date and time when the ticket was last updated.

createdAtstring date-time required

The date and time when the ticket was created.

Example response

{
  "creator": {
    "name": "Ryan Dahl",
    "avatarUrl": "https://avatars.githubusercontent.com/u/80?v=4",
    "githubId": 80
  },
  "messages": [
    {
      "author": {
        "name": "Ryan Dahl",
        "avatarUrl": "https://avatars.githubusercontent.com/u/80?v=4",
        "githubId": 80
      }
    }
  ]
}

Changes