Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/get-all-available-domains.StatusCodes.json

51 lines
1.2 KiB
JSON

{
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"result": {
"properties": {
"domains": { "items": { "type": "string" }, "type": "array" }
},
"type": "object",
"title": "AvailableDomainsSchema"
}
},
"type": "object"
},
"example": { "result": { "domains": [] } }
}
},
"description": "a list of available domains"
},
"401": {
"content": {
"application/json": {
"schema": {
"properties": { "message": { "type": "string" } },
"type": "object"
},
"example": { "message": "Unauthorized: Authentication required" }
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"properties": { "message": { "type": "string" } },
"type": "object"
},
"example": {
"message": "Forbidden: You don't have permission to access this resource"
}
}
},
"description": "Forbidden"
}
}
}