Releases Index
Capabilities
View .md

Listing-lane capability flags

GET
/listing/capabilities

Returns whether the self-serve listing lane and self-serve promotion are currently enabled. Public and anonymous; always reachable even when either kill switch is off (so clients can hide CTAs rather than offer a button that 404s).

Authorization

bearerAuth
headerAuthorizationBearer <relk_… | relu_… | OAuth JWT>

Machine/operator tokens use the relk_ prefix; self-serve read-only user keys use relu_; Sign in with Releases supplies an OAuth access token. Required scope depends on the endpoint.

Response Body

ListingCapabilities

application/json
  1. response
selfServeEnabled*boolean
promotionEnabled*boolean
Example Request
curl -X GET 'https://api.releases.sh/v1/listing/capabilities'
Example Response200
{  "selfServeEnabled": true,  "promotionEnabled": true}