| { |
| "responses": { |
| "200": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { |
| "result": { |
| "properties": { |
| "allowed_domains": { |
| "items": { "type": "string" }, |
| "type": "array" |
| }, |
| "changed_by": { |
| "properties": { |
| "first_name": { "type": "string" }, |
| "id": { "type": "integer" }, |
| "last_name": { "type": "string" }, |
| "username": { "type": "string" } |
| }, |
| "type": "object", |
| "title": "User2" |
| }, |
| "changed_on": { "format": "date-time", "type": "string" }, |
| "dashboard_id": { "type": "string" }, |
| "uuid": { "type": "string" } |
| }, |
| "type": "object", |
| "title": "EmbeddedDashboardResponseSchema" |
| } |
| }, |
| "type": "object" |
| }, |
| "example": { |
| "result": { |
| "allowed_domains": [], |
| "changed_on": "2024-01-15T10:30:00Z", |
| "dashboard_id": "string", |
| "uuid": "string" |
| } |
| } |
| } |
| }, |
| "description": "Result contains the embedded dashboard config" |
| }, |
| "401": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { "message": { "type": "string" } }, |
| "type": "object" |
| }, |
| "example": { "message": "Unauthorized: Authentication required" } |
| } |
| }, |
| "description": "Unauthorized" |
| }, |
| "500": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { "message": { "type": "string" } }, |
| "type": "object" |
| }, |
| "example": { |
| "message": "Internal server error: An unexpected error occurred" |
| } |
| } |
| }, |
| "description": "Fatal error" |
| } |
| } |
| } |