Submit a source recommendation
POST
Optional idempotency key. Reuse the same key only for an identical request; successful responses are replayable for 24 hours.
bearerAuthheader
AuthorizationBearer <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.
Idempotency-Key?stringOptional idempotency key. Reuse the same key only for an identical request; successful responses are replayable for 24 hours.
Match
^[\x21-\x7e]+$Length
16 <= length <= 255application/json- body
type*"source"Value in
"source"url*stringhttp(s) URL of the changelog or project.
Length
length <= 2048note?stringLength
length <= 4000contactEmail?stringLength
length <= 200surface?stringLength
length <= 32Accepted recommendation identifier.
application/json- response
ok*booleanid*stringcurl -X POST 'https://api.releases.sh/v1/recommendations' \ -H 'Content-Type: application/json' \ -d '{ "type": "source", "url": "string"}'Example Response
{ "ok": true, "id": "string"}