mirror of
https://github.com/apache/superset.git
synced 2026-08-04 13:02:41 +00:00
61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"title": "Body",
|
|
"body": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": {
|
|
"resources": {
|
|
"items": {
|
|
"properties": {
|
|
"id": { "type": "string" },
|
|
"type": { "enum": ["dashboard"] }
|
|
},
|
|
"required": ["id", "type"],
|
|
"type": "object",
|
|
"title": "Resource"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"rls": {
|
|
"items": {
|
|
"properties": {
|
|
"clause": { "type": "string" },
|
|
"dataset": { "type": "integer" }
|
|
},
|
|
"required": ["clause"],
|
|
"type": "object",
|
|
"title": "RlsRule"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"user": {
|
|
"properties": {
|
|
"first_name": { "type": "string" },
|
|
"last_name": { "type": "string" },
|
|
"username": { "type": "string" }
|
|
},
|
|
"type": "object",
|
|
"title": "User3"
|
|
}
|
|
},
|
|
"required": ["resources", "rls"],
|
|
"type": "object",
|
|
"title": "GuestTokenCreate"
|
|
},
|
|
"example": {
|
|
"resources": [{}],
|
|
"rls": [{}],
|
|
"user": {
|
|
"first_name": "string",
|
|
"last_name": "string",
|
|
"username": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"description": "Parameters for the guest token",
|
|
"required": true
|
|
}
|
|
}
|