Retrieve a paginated list of versions of the schema

GET /v1/Schemas/{Id}/Versions

Version of the Schema

Retrieve a paginated list of versions of the schema.

Path parameters

  • Id string Required

    The unique identifier of the schema. Each schema can have multiple versions, that share the same id.

Query parameters

  • PageSize integer

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

Responses

GET /v1/Schemas/{Id}/Versions
curl \
 -X GET https://events.twilio.com/v1/Schemas/{Id}/Versions \
 --user "username:password"
Response examples (200)
{
  "meta": {
    "first_page_url": "https://example.com",
    "key": "string",
    "next_page_url": "https://example.com",
    "page": 42,
    "page_size": 42,
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  },
  "schema_versions": [
    {
      "date_created": "2023-05-04T09:42:00+00:00",
      "id": "string",
      "raw": "https://example.com",
      "schema_version": 42,
      "url": "https://example.com"
    }
  ]
}
Response examples (200)
{
  "meta": {
    "first_page_url": "https://example.com",
    "key": "string",
    "next_page_url": "https://example.com",
    "page": 42,
    "page_size": 42,
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  },
  "schema_versions": [
    {
      "date_created": "2024-05-04T09:42:00+00:00",
      "id": "string",
      "raw": "https://example.com",
      "schema_version": 42,
      "url": "https://example.com"
    }
  ]
}