install

create read token

Changed on

Create — 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

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

namestring required

Unique identifier; the read token is created/reused under this name.

Response

The read token value (plain text).

Changes