List App Variants
GET/apps/:app_id/variants
Retrieve a list of app variants for a given app ID.
Args: app_id (str): The ID of the app to retrieve variants for. stoken_session (SessionContainer, optional): The session container to verify the user's session. Defaults to Depends(verify_session()).
Returns: List[AppVariantResponse]: A list of app variants for the given app ID.
Request
Path Parameters
app_id App Idrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
]
app_id App Id (string)required
app_name App Name (string)required
variant_id Variant Id (string)required
variant_name Variant Name (string)required
project_id Project Id (string)required
parametersobjectrequired
anyOf
base_name Base Name (string)required
base_id Base Id (string)required
config_name Config Name (string)required
uriobjectrequired
anyOf
string
revision Revision (integer)required
created_atobject
anyOf
string
updated_atobject
anyOf
string
modified_by_idobject
anyOf
string
organization_idobject
anyOf
string
workspace_idobject
anyOf
string
[
{
"app_id": "string",
"app_name": "string",
"variant_id": "string",
"variant_name": "string",
"project_id": "string",
"parameters": {},
"base_name": "string",
"base_id": "string",
"config_name": "string",
"uri": "string",
"revision": 0,
"created_at": "string",
"updated_at": "string",
"modified_by_id": "string",
"organization_id": "string",
"workspace_id": "string"
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...