Package version management service — store, retrieve, and manage versioned build artifacts.
Health check
Returns the health status of the MongoDB and Redis connections.
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Responses
All services healthy.
Samples
Register a new API token
Creates and returns a new API token. Requires admin privileges.
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Request Body
Responses
Token created. The raw token string is returned as plain text.
Samples
Fetch an API token
Returns metadata for the specified token.
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Parameters
Path Parameters
The raw token string to look up.
Responses
Token metadata.
Samples
Delete an API token
Permanently removes the specified API token. Requires admin privileges.
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Parameters
Path Parameters
The raw token string to delete.
Responses
Token deleted.
Samples
List accessible products
Returns the names of all products the authenticated token has access to.
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Responses
Product names accessible by the token.
Samples
Create a product
Creates a new product. The calling token is automatically granted full maintainer access (download, upload, delete, maintainer).
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Request Body
Responses
Product created.
Samples
Fetch a 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
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Parameters
Path Parameters
Product name.
Responses
Product metadata.
Samples
Delete a product
Permanently removes a product and all its metadata. Requires maintainer or admin access.
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Parameters
Path Parameters
Product name.
Responses
Product deleted.
Samples
Modify a product (addToken)
Grants a token access to a product with the specified permissions. Requires maintainer or admin access.
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Parameters
Path Parameters
Must be addToken.
"addToken"Request Body
Responses
Token added.
Samples
Modify a product (deleteVersion / deleteToken)
Dispatches to deleteVersion or deleteToken based on the action path parameter.
deleteVersion: Remove a version from a product.
Request body: DeleteVersionRequest
deleteToken: Revoke a token's access to a product. Requires maintainer or admin access.
Request body: DeleteProductTokenRequest
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Parameters
Path Parameters
Action to perform.
"deleteVersion""deleteToken"Request Body
Responses
Version deleted (deleteVersion).
Samples
Upload a version artifact
Uploads a file as a new version of a product. Requires Upload permission. Duplicate version names are rejected.
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Request Body
Product name.
Version identifier.
Artifact file.
"binary"Responses
Version uploaded.
Samples
Download a version artifact
Streams the artifact file for the specified product version. Requires Download permission.
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Parameters
Path Parameters
Product name.
Version identifier.
Responses
Artifact file binary.
Samples
Delete a version artifact
Removes the artifact file and version metadata. Requires Delete permission.
Authorizations
API token obtained via the /register endpoint. Pass as the X-Api-Token header on every request.
Parameters
Path Parameters
Product name.
Version identifier.
Responses
Version deleted.