Skip to content

Gets all files of a package

GET
/packages/{owner}/{type}/{name}/{version}/files
owner
required
string

Owner of the package

type
required
string

Type of the package

name
required
string

Name of the package

version
required
string

Version of the package

PackageFileList

Media type application/json
Array<object>

PackageFile represents a package file

object
Size
integer format: int64
id
integer format: int64
md5
string
name
string
sha1
string
sha256
string
sha512
string
Example generated
[
{
"Size": 1,
"id": 1,
"md5": "example",
"name": "example",
"sha1": "example",
"sha256": "example",
"sha512": "example"
}
]

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}