com.emdashcms.experimental.aggregator.listReleases

emdashcms.com

Documentation

Returns a paginated list of releases for the named package. Results that are subject to a hard-enforcement label from a trusted labeller the request accepts are filtered out; other label state is hydrated on each result. Results are ordered by descending semver version.

main query

Returns a paginated list of releases for the named package. Results that are subject to a hard-enforcement label from a trusted labeller the request accepts are filtered out; other label state is hydrated on each result. Results are ordered by descending semver version.

Parameters

cursor string Optional

Pagination cursor from a previous response.

did string did Required

Publisher DID.

limit integer Optional

Max results to return.

package string Required

Parent package slug.

Output

Encodingapplication/json
cursor string Optional

Cursor to fetch the next page. Absent when there are no more results.

releases array Required

No description available.

Errors

NotFound No package indexed under the given (did, package).
ListingUnavailable The package is indexed but no release revision is available under the aggregator's listing policy. No publisher-controlled content is returned.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Pagination cursor from a previous response.
Publisher DID.
Max results to return.
Parent package slug.
View raw schema
{
  "description": "Returns a paginated list of releases for the named package. Results that are subject to a hard-enforcement label from a trusted labeller the request accepts are filtered out; other label state is hydrated on each result. Results are ordered by descending semver version.",
  "errors": [
    {
      "description": "No package indexed under the given (did, package).",
      "name": "NotFound"
    },
    {
      "description": "The package is indexed but no release revision is available under the aggregator's listing policy. No publisher-controlled content is returned.",
      "name": "ListingUnavailable"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "cursor": {
          "description": "Cursor to fetch the next page. Absent when there are no more results.",
          "maxLength": 1024,
          "type": "string"
        },
        "releases": {
          "items": {
            "ref": "com.emdashcms.experimental.aggregator.defs#releaseView",
            "type": "ref"
          },
          "maxLength": 100,
          "type": "array"
        }
      },
      "required": [
        "releases"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "cursor": {
        "description": "Pagination cursor from a previous response.",
        "maxLength": 1024,
        "type": "string"
      },
      "did": {
        "description": "Publisher DID.",
        "format": "did",
        "type": "string"
      },
      "limit": {
        "default": 25,
        "description": "Max results to return.",
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      },
      "package": {
        "description": "Parent package slug.",
        "maxLength": 64,
        "minLength": 1,
        "type": "string"
      }
    },
    "required": [
      "did",
      "package"
    ],
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@