Construct App Container Url
GET/containers/container_url
Constructs the URL for an app container based on the provided base_id or variant_id.
Args: base_id (Optional[str]): The ID of the base to use for the app container. variant_id (Optional[str]): The ID of the variant to use for the app container. request (Request): The request object.
Returns: URI: The URI for the app container.
Raises: HTTPException: If the base or variant cannot be found or the user does not have access.
Request
Query Parameters
base_id Base Id
variant_id Variant Id
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
uri Uri (string)required
{
"uri": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...