Pular para o conteúdo principal
POST
Enable a package

Autorizações

Authorization
string
header
obrigatório

Enforced on every transport, with no exempt operation. A person's request must carry a JWT issued by the configured identity provider, which the host verifies itself against that issuer's key set: signature, issuer, expiry, and the person and organisation it names. Requests without a valid one receive 401 NRY-0011 — except a request with no token on a laptop's socket from the OS user the kernel names as the host's own, which is that machine's user.

Parâmetros de caminho

name
string
obrigatório

The package's name.

Maximum string length: 256

Resposta

The package, now enabled.

An installed package — the one thing a user installs. May carry declarative resources, Go code, or both; only code-carrying packages cost a rebuild.

name
string
obrigatório
Maximum string length: 256
carriesCode
boolean
obrigatório

True when the package carries Go code and changes require a rebuild.

enabled
boolean
obrigatório
version
string
Maximum string length: 64
source
string

The registry reference or local path it was installed from.

Maximum string length: 1024
installedAt
string<date-time>