Releases Index
List curated collections
View .md

List curated collections

GET
/collections

Returns every collection with a member count and a small previewMembers array (capped at 3) so the list page can render inline avatars without a second round trip. previewMembers is the mixed-kind preview (orgs and products); previewOrgs is the legacy org-only preview retained for back-compat. Member counts and previews are joined through organizations_public (for orgs) and products_active (for products), so soft-deleted / on_demand rows never inflate the totals. Pass ?featured=1 to return only homepage-featured collections.

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

featured?string

When 1 (or true), return only homepage-featured collections.

Value in"1""true"

Response Body

Collections, ordered by name (optionally filtered to featured).

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.releases.sh/v1/collections'
Example Response200
[  {    "slug": "string",    "name": "string",    "description": "string",    "memberCount": 0,    "isFeatured": true,    "previewMembers": [      {        "slug": "string",        "name": "string",        "domain": "string",        "avatarUrl": "string",        "githubHandle": "string",        "description": "string",        "kind": "org"      }    ],    "previewOrgs": [      {        "slug": "string",        "name": "string",        "domain": "string",        "avatarUrl": "string",        "githubHandle": "string",        "description": "string"      }    ]  }]