Retrieve information about all schemas on a zone

/zones/{zone_id}/api_gateway/user_schemas

get

API Shield Schema Validation 2.0

api-shield-schema-validation-retrieve-information-about-all-schemas

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": "Page number of paginated results.",
    "in": "query",
    "name": "page",
    "schema": {
      "default": 1,
      "minimum": 1
    }
  },
  {
    "description": "Maximum number of results per page.",
    "in": "query",
    "name": "per_page",
    "schema": {
      "default": 20,
      "maximum": 50,
      "minimum": 5
    }
  },
  {
    "description": "Omit the source-files of schemas and only retrieve their meta-data.",
    "in": "query",
    "name": "omit_source",
    "schema": {
      "default": false,
      "type": "boolean"
    }
  },
  {
    "in": "query",
    "name": "validation_enabled",
    "schema": {
      "description": "Flag whether schema is enabled for validation.",
      "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": {
                      "items": {},
                      "nullable": true,
                      "type": "array"
                    },
                    "result_info": {
                      "properties": {
                        "count": {
                          "description": "Total number of results for the requested service",
                          "example": 1,
                          "type": "number"
                        },
                        "page": {
                          "description": "Current page within paginated list of results",
                          "example": 1,
                          "type": "number"
                        },
                        "per_page": {
                          "description": "Number of results per page of results",
                          "example": 20,
                          "type": "number"
                        },
                        "total_count": {
                          "description": "Total results available without any search parameters",
                          "example": 2000,
                          "type": "number"
                        }
                      },
                      "type": "object"
                    }
                  }
                }
              ],
              "type": "object"
            },
            {
              "properties": {
                "result": {
                  "items": {
                    "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"
                  },
                  "type": "array"
                }
              }
            }
          ]
        }
      }
    },
    "description": "Retrieve information about all schemas on a zone response"
  },
  "4XX": {
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "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 all schemas on a zone response failure"
  }
}

Debug "security"

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