WSO2 · JSON Structure

Publisher Api File Info Structure

FileInfo schema from WSO2 API Manager

Type: object Properties: 2
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

File Information including meta data is a JSON Structure definition published by WSO2, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

relativePath mediaType

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-structure/publisher-api-file-info-structure.json",
  "name": "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"
    }
  }
}