Update package

Updates the details of a package

patch/scopes/{scope}/packages/{package}

Path parameters

scopestring required

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

Example:denoland

The name of the scope

packagestring required

The name of a package.

Example:fmt

The name of the package

Request body

OR
OR

Example request

{
  "githubRepository": {
    "owner": "denoland",
    "repo": "deno"
  }
}

Response

OK

scopestring required

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

namestring required

The name of a package.

descriptionstring required

The description of the package.

createdAtstring date-time required

The date and time when the package was created.

updatedAtstring date-time required

The date and time when the package was last updated.

Example response

{
  "scope": "denoland",
  "name": "fmt",
  "description": "A module for formatting strings.",
  "githubRepository": {
    "owner": "denoland",
    "name": "deno"
  }
}

Changes