Variants

Query Variant Revisions

Query variant revisions by their IDs.

This endpoint allows batch fetching of multiple revisions at once, which is more efficient than making individual requests.

Args: payload: Request containing list of revision IDs to fetch

Returns: RevisionsQueryResponse: Response containing the count and list of revisions

post/variants/revisions/query

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/variants/revisions/query
  • Auth
    API key in header Authorization

Query parameters

resolveboolean nullable

Request body

revision_idsstring[] required
resolveboolean nullable

Response

Successful Response

countinteger

Changes