Actions

Create a provider token

Mints a provider token that reads the pool's demand and mints JIT runners for it; the token is in this response only. Requires authenticated authority and enforces current resource policy.

post/api/orgs/{slug}/actions/pools/{poolId}/provider-tokens

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

slugstring required
poolIdstring required

Request body

namestring required
expiresInSecondsinteger nullable

Response

Response for status 201

idstring required
poolIdstring required
namestring required
state'active' | 'expired' | 'revoked' required
expiresAtstring date-time nullable required
revokedAtstring date-time nullable required
lastUsedAtstring date-time nullable required
createdAtstring date-time required
tokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.