mirror of
https://github.com/apache/superset.git
synced 2026-08-04 21:12:44 +00:00
56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"title": "Body",
|
|
"body": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": {
|
|
"description": {
|
|
"description": "Group description",
|
|
"maxLength": 512,
|
|
"minLength": 0,
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"label": {
|
|
"description": "Group label",
|
|
"maxLength": 150,
|
|
"minLength": 0,
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Group name",
|
|
"maxLength": 100,
|
|
"minLength": 1,
|
|
"type": "string"
|
|
},
|
|
"roles": {
|
|
"description": "Group roles",
|
|
"items": { "type": "integer" },
|
|
"type": "array"
|
|
},
|
|
"users": {
|
|
"description": "Group users",
|
|
"items": { "type": "integer" },
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": ["name"],
|
|
"type": "object",
|
|
"title": "GroupPostSchema"
|
|
},
|
|
"example": {
|
|
"description": "string",
|
|
"label": "string",
|
|
"name": "string",
|
|
"roles": [1],
|
|
"users": [1]
|
|
}
|
|
}
|
|
},
|
|
"description": "Model schema",
|
|
"required": true
|
|
}
|
|
}
|