Create a new package version
Changed onCreates a new version of a package
Request
- Base URLhttps://api.jsr.io
- AuthHTTP bearer
Path parameters
The name of a scope. This must not be @ prefixed.
The name of the scope
The name of a package.
The name of the package
A semantic version.
The version of the package
Query parameters
The path to the config file
Response
OK
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 - warning
changed the pattern of the
pathrequest parameterpackagefrom/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/to^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$ - warning
changed the pattern of the
pathrequest parameterscopefrom/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/to^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$ - 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
- breaking