Fetch a product
GET
/product/fetch/{product}
Returns full product metadata including the token map and all versions. Requires the calling token to have access to the product, or admin privileges.
Authorizations
ApiKeyAuth
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Type
API Key (header: X-Api-Token)
Parameters
Path Parameters
product*
Product name.
Type
Requiredstring
Responses
Product metadata.
application/json
JSON "name": "my-lib", "tokens": { "additionalProperties": { "maintainer": false, "download": true, "upload": false, "delete": false } }, "versions": { "additionalProperties": { "path": "./prodcuts/my-lib/v1.0.0/my-lib.tar.gz", "checksum": "sha256:abc123..." } }
{
}
GET
/product/fetch/{product}