| { |
| "responses": { |
| "200": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { |
| "count": { |
| "description": "The total number of related values", |
| "type": "integer" |
| }, |
| "result": { |
| "items": { |
| "properties": { |
| "extra": { |
| "description": "The extra metadata for related item", |
| "type": "object" |
| }, |
| "text": { |
| "description": "The related item string representation", |
| "type": "string" |
| }, |
| "value": { |
| "description": "The related item identifier", |
| "type": "integer" |
| } |
| }, |
| "type": "object", |
| "title": "RelatedResultResponse" |
| }, |
| "type": "array" |
| } |
| }, |
| "type": "object", |
| "title": "RelatedResponseSchema" |
| }, |
| "example": { "count": 1, "result": [] } |
| } |
| }, |
| "description": "Related column data" |
| }, |
| "400": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { "message": { "type": "string" } }, |
| "type": "object" |
| }, |
| "example": { "message": "Bad request: Invalid parameters provided" } |
| } |
| }, |
| "description": "Bad request" |
| }, |
| "401": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { "message": { "type": "string" } }, |
| "type": "object" |
| }, |
| "example": { "message": "Unauthorized: Authentication required" } |
| } |
| }, |
| "description": "Unauthorized" |
| }, |
| "404": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { "message": { "type": "string" } }, |
| "type": "object" |
| }, |
| "example": { |
| "message": "Not found: The requested resource does not exist" |
| } |
| } |
| }, |
| "description": "Not found" |
| }, |
| "500": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { "message": { "type": "string" } }, |
| "type": "object" |
| }, |
| "example": { |
| "message": "Internal server error: An unexpected error occurred" |
| } |
| } |
| }, |
| "description": "Fatal error" |
| } |
| } |
| } |