PackageDetail
A package and its versions, newest first.
Shape
- formatPackageRegistryFormatnpmcargopypiThe package ecosystem a registry speaks. A group has at most one registry per format.
- namestringThe package's name, as it was published.
- total_bytesinteger · int640–∞The size of every file of every version, in bytes.
- updated_atstring
- version_countinteger · int640–∞
versionsarray of PackageVersionView
- The PackageVersionView schema
- published_atstring
published_byActorSummary
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
- size_bytesinteger · int640–∞The size of the version's files, in bytes.
- versionstring
- yankedbooleanWhether the version has been yanked, as a Cargo crate version can be. Always
falsefor npm and PyPI.
- latest_versionstring or nulloptionalThe newest version, when there is one.
Example
Synthesized example{
"format": "npm",
"name": "payments-api",
"total_bytes": 3,
"updated_at": "2026-10-14T13:17:48Z",
"version_count": 6,
"versions": [
{
"published_at": "2026-10-16T05:05:57Z",
"published_by": {
"email": "mara@acme.example",
"id": "id-51b8",
"username": "mara"
},
"size_bytes": 2,
"version": "version-716a",
"yanked": false
},
{
"published_at": "2026-10-09T05:07:45Z",
"published_by": {
"email": "lin@acme.example",
"id": "id-f178",
"username": "lin"
},
"size_bytes": 5,
"version": "version-2f8c",
"yanked": false
}
],
"latest_version": "latest-version-60b3"
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation