List Bases
GET/bases
Retrieve a list of bases filtered by app_id and base_name.
Args: request (Request): The incoming request. app_id (str): The ID of the app to filter by. base_name (Optional[str], optional): The name of the base to filter by. Defaults to None.
Returns: List[BaseOutput]: A list of BaseOutput objects representing the filtered bases.
Raises: HTTPException: If there was an error retrieving the bases.
Request
Query Parameters
app_id App Idrequired
base_name any
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
base_id Base Id (string)required
base_name Base Name (string)required
[
{
"base_id": "string",
"base_name": "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...