Retrieve information about a specific schema on a zone

/zones/{zone_id}/api_gateway/user_schemas/{schema_id}

get

API Shield Schema Validation 2.0

api-shield-schema-validation-retrieve-information-about-specific-schema

Debug "planAvailability"

null

Debug "tokenPermissions"

null

Debug "parameters"

[
  {
    "in": "path",
    "name": "zone_id",
    "required": true,
    "schema": {
      "description": "Identifier",
      "example": "023e105f4ecef8ad9ca31a8372d0c353",
      "maxLength": 32,
      "readOnly": true,
      "type": "string"
    }
  },
  {
    "description": "Identifier for the schema-ID",
    "example": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
    "in": "path",
    "name": "schema_id",
    "required": true,
    "schema": {
      "format": "uuid",
      "maxLength": 36,
      "readOnly": true,
      "type": "string"
    }
  },
  {
    "description": "Omit the source-files of schemas and only retrieve their meta-data.",
    "in": "query",
    "name": "omit_source",
    "schema": {
      "default": false,
      "type": "boolean"
    }
  }
]

Debug "requestBody"

null

Debug "responses"

{
  "200": {
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "allOf": [
                {
                  "properties": {
                    "errors": {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    },
                    "messages": {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    },
                    "result": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "items": {},
                          "type": "array"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "success": {
                      "description": "Whether the API call was successful",
                      "example": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "errors",
                    "messages",
                    "result"
                  ],
                  "type": "object"
                },
                {
                  "properties": {
                    "result": {
                      "anyOf": [
                        {
                          "nullable": true,
                          "type": "object"
                        },
                        {
                          "nullable": true,
                          "type": "string"
                        }
                      ]
                    }
                  }
                }
              ],
              "type": "object"
            },
            {
              "properties": {
                "result": {
                  "properties": {
                    "created_at": {
                      "example": "2014-01-01T05:20:00.12345Z",
                      "format": "date-time",
                      "readOnly": true,
                      "type": "string"
                    },
                    "kind": {
                      "description": "Kind of schema",
                      "enum": [
                        "openapi_v3"
                      ],
                      "example": "openapi_v3",
                      "type": "string"
                    },
                    "name": {
                      "description": "Name of the schema",
                      "example": "petstore schema",
                      "type": "string"
                    },
                    "schema_id": {
                      "description": "UUID identifier",
                      "example": "0d9bf70c-92e1-4bb3-9411-34a3bcc59003",
                      "format": "uuid",
                      "maxLength": 36,
                      "readOnly": true,
                      "type": "string"
                    },
                    "source": {
                      "description": "Source of the schema",
                      "example": "<schema file bytes>",
                      "type": "string"
                    },
                    "validation_enabled": {
                      "description": "Flag whether schema is enabled for validation.",
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "schema_id",
                    "name",
                    "kind",
                    "created_at"
                  ],
                  "type": "object"
                }
              }
            }
          ]
        }
      }
    },
    "description": "Retrieve information about a specific schema on a zone response"
  },
  "4XX": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "errors": {
              "allOf": [
                {
                  "example": [],
                  "items": {
                    "properties": {
                      "code": {
                        "minimum": 1000,
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "message"
                    ],
                    "type": "object",
                    "uniqueItems": true
                  },
                  "type": "array"
                }
              ],
              "example": [
                {
                  "code": 7003,
                  "message": "No route for the URI"
                }
              ],
              "minLength": 1
            },
            "messages": {
              "allOf": [
                {
                  "example": [],
                  "items": {
                    "properties": {
                      "code": {
                        "minimum": 1000,
                        "type": "integer"
                      },
                      "message": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "code",
                      "message"
                    ],
                    "type": "object",
                    "uniqueItems": true
                  },
                  "type": "array"
                }
              ],
              "example": []
            },
            "result": {
              "nullable": true,
              "type": "object"
            },
            "success": {
              "description": "Whether the API call was successful",
              "example": false,
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "errors",
            "messages",
            "result"
          ],
          "type": "object"
        }
      }
    },
    "description": "Retrieve information about a specific schema zone response failure"
  }
}

Debug "security"

[
  {
    "api_email": [],
    "api_key": []
  }
]