Retrieve a paginated list of versions of the schema.

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://twilio.demo.bump-doc.com/doc/events/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Events MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/events/mcp"
}
Close
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(int64)

    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.

  • Page integer

    The page index. This value is simply for client state.

    Minimum value is 0.

  • PageToken string

    The page token. This is provided by the API.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • schema_versions array[object]
      Hide schema_versions attributes Show schema_versions attributes object
      • id string | null

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

      • schema_version integer

        The version of this schema.

        Default value is 0.

      • date_created string(date-time) | null

        The date the schema version was created, given in ISO 8601 format.

      • url string(uri) | null

        The URL of this resource.

      • raw string(uri) | null
    • meta object
      Hide meta attributes Show meta attributes object
      • first_page_url string(uri)
      • key string
      • next_page_url string(uri) | null
      • page integer
      • page_size integer
      • previous_page_url string(uri) | null
      • url string(uri)
GET /v1/Schemas/{Id}/Versions
curl \
 --request GET 'https://events.twilio.com/v1/Schemas/{Id}/Versions' \
 --user "username:password"
Response examples (200)
{
  "schema_versions": [],
  "meta": {
    "page": 0,
    "page_size": 10,
    "first_page_url": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions?PageSize=10&Page=0",
    "previous_page_url": null,
    "url": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions?PageSize=10&Page=0",
    "next_page_url": null,
    "key": "schema_versions"
  }
}
{
  "schema_versions": [
    {
      "id": "Messaging.MessageStatus",
      "schema_version": 1,
      "public": true,
      "date_created": "2015-07-30T20:00:00Z",
      "url": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions/1",
      "raw": "https://events-schemas.twilio.com/Messaging.MessageStatus/1"
    },
    {
      "id": "Messaging.MessageStatus",
      "schema_version": 2,
      "public": true,
      "date_created": "2015-07-30T20:00:00Z",
      "url": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions/2",
      "raw": "https://events-schemas.twilio.com/Messaging.MessageStatus/2"
    }
  ],
  "meta": {
    "page": 0,
    "page_size": 50,
    "first_page_url": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions?PageSize=50&Page=0",
    "previous_page_url": null,
    "url": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions?PageSize=50&Page=0",
    "next_page_url": null,
    "key": "schema_versions"
  }
}