WSO2 · Schema

File Information including meta data

FileInfo schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
relativePath string relative location of the file (excluding the base context and host of the Admin API)
mediaType string media-type of the file
View JSON Schema on GitHub

JSON Schema

admin-api-file-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/admin-api-file-info-schema.json",
  "title": "File Information including meta data",
  "description": "FileInfo schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "relativePath": {
      "type": "string",
      "description": "relative location of the file (excluding the base context and host of the Admin API)",
      "example": "api-categories/01234567-0123-0123-0123-012345678901/thumbnail"
    },
    "mediaType": {
      "type": "string",
      "description": "media-type of the file",
      "example": "image/jpeg"
    }
  }
}