Releases Index
Source by coordinate
View .md

Resolve a GitHub owner/repo coordinate to an indexed source (read-only, no materialize)

GET
/lookups/source-by-coordinate

Read-only counterpart to POST /v1/lookups: given coordinate=owner/repo (optionally github:owner/repo), returns the canonical org-scoped tuple { sourceId, sourceSlug, orgSlug } for a matching visible catalog source, or 404 when the repo isn't indexed. Unlike the POST, it never probes GitHub or materializes a hidden stub. Matches sources.url case-insensitively; on a multi-row case collision it prefers the exact-case row, then the oldest by (createdAt, id).

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.

Query Parameters

coordinate*string

GitHub coordinate, e.g. "honojs/hono" or "github:honojs/hono".

Response Body

Canonical home for the indexed repo

application/json
  1. response
sourceId*string
sourceSlug*string
orgSlug*string
Example Request
curl -X GET 'https://api.releases.sh/v1/lookups/source-by-coordinate?coordinate=string'
Example Response
{  "sourceId": "string",  "sourceSlug": "string",  "orgSlug": "string"}