mirror of
https://github.com/apache/superset.git
synced 2026-08-04 21:12:44 +00:00
74 lines
2.1 KiB
JSON
74 lines
2.1 KiB
JSON
{
|
|
"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": "Successfully set the configuration"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|