Releases Index
Resolve a slug
View .md

Resolve an org-scoped slug to a product or source

GET
/orgs/{org}/resolve/{slug}

Product-first: returns { kind: "product", product } when a product owns the slug, else { kind: "source", source } for a source, else 404. One round trip for the bare /[org]/[slug] web route (#1190).

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.

Path Parameters

org*string

Organization slug or org_… ID.

slug*string

Org-scoped product or source slug to resolve (product-first).

Response Body

Discriminated product or source detail

application/json
  1. response
kind*string
product*
Example Request
curl -X GET 'https://api.releases.sh/v1/orgs/string/resolve/string'
Example Response
{  "kind": "product",  "product": {    "id": "string",    "name": "string",    "slug": "string",    "orgId": "string",    "url": "string",    "description": "string",    "category": "ai",    "kind": "platform",    "avatarUrl": "string",    "createdAt": "string",    "embeddedAt": "string",    "deletedAt": "string",    "sources": [      {        "id": "string",        "slug": "string",        "name": "string",        "type": "github",        "url": "string",        "metadata": "string",        "kind": "platform"      }    ],    "tags": [      "string"    ],    "aliases": [      "string"    ],    "releases": [      {        "id": "string",        "version": "string",        "title": "string",        "summary": "string",        "content": "string",        "publishedAt": "string",        "fetchedAt": "string",        "url": "string",        "media": [          {            "type": "image",            "url": "string",            "alt": "string",            "r2Key": "string",            "r2Url": "string",            "linkUrl": "string"          }        ],        "type": "feature",        "prerelease": true,        "titleGenerated": "string",        "titleShort": "string",        "breaking": "unknown",        "importance": 1,        "coverageCount": 0,        "contentChars": 0,        "contentTokens": 0,        "composition": {          "bugs": 0,          "features": 0,          "enhancements": 0        }      }    ],    "pagination": {      "nextCursor": "string",      "limit": 1    },    "notice": {      "message": "string",      "linkText": "string",      "coordinate": "string",      "href": "http://example.com"    }  }}