install
create read token
Changed onCreate — or idempotently reuse — a read token for installing packages from this repository, returning the bare token value as plain text. The name field is a unique identifier for the consuming system; the same name always returns the same read token. Used by the npm, gem, and pip setup snippets.
post/install/repositories/{user_id}/{repo}/tokens.text
Request
- Base URLhttps://packagecloud.io
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
The username the repository belongs to.
repostring required
The name of the repository.
Request body application/x-www-form-urlencoded
Response
The read token value (plain text).
Changes
- info
endpoint added
- info