Get publishing task details

Changed on

Returns details of a publishing task

get/publishing_tasks/{id}

Request

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

Path parameters

idstring required

The ID of the publishing task

Response

OK

idstring uuid required

The ID of the publishing task.

status'pending' | 'processing' | 'processed' | 'success' | 'failure' required

The status of the publishing task.

packageScopestring required

The name of a scope. This must not be @ prefixed.

packageNamestring required

The name of a package.

packageVersionstring required

A semantic version.

createdAtstring date-time required

The date and time when the publishing task was created.

updatedAtstring date-time required

The date and time when the publishing task was last updated.

Example response

{
  "user": {
    "name": "Ryan Dahl",
    "avatarUrl": "https://avatars.githubusercontent.com/u/80?v=4",
    "githubId": 80
  },
  "packageScope": "denoland",
  "packageName": "fmt",
  "packageVersion": "1.2.3"
}

Changes

    • breaking

      the response property became optional for the status

    • breaking

      removed the required property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      the response's property pattern was changed from /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/ to ^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$ for the status

    • info

      the response's property pattern was changed from /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/ to ^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$ for the status