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 Publisher API)
mediaType string media-type of the file
View JSON Schema on GitHub

JSON Schema

publisher-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/publisher-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 Publisher API)",
      "example": "apis/01234567-0123-0123-0123-012345678901/thumbnail"
    },
    "mediaType": {
      "type": "string",
      "description": "media-type of the file",
      "example": "image/jpeg"
    }
  }
}