Amazon API Gateway · Schema

Resources

Resources schema from Amazon API Gateway v1 API

API GatewayCloudRESTHTTPWebSocketServerlessMCPAgentCoreDeveloper Portal

Properties

Name Type Description
items array
View JSON Schema on GitHub

JSON Schema

v1-resources-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Resource identifier.",
            "example": "abc123"
          },
          "parentId": {
            "type": "string",
            "description": "Parent resource identifier.",
            "example": "abc123"
          },
          "pathPart": {
            "type": "string",
            "description": "Last path segment for this resource.",
            "example": "example-value"
          },
          "path": {
            "type": "string",
            "description": "Full path of the resource.",
            "example": "example-value"
          }
        }
      },
      "example": [
        "example-value"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-api-gateway/refs/heads/main/json-schema/v1-resources-schema.json",
  "title": "Resources",
  "description": "Resources schema from Amazon API Gateway v1 API"
}