retrieve_asset_folders
Access and filter asset folders from a Storyblok space by name, parent ID, specific folder IDs, or UUIDs to streamline content organization and management.
Instructions
Retrieve a list of asset folders from the current Storyblok space.
Parameters:
search (Optional[str]): A search query to filter asset folders by name.
with_parent (Optional[int]): ID of the parent folder to filter results.
by_ids (Optional[List[int]]): Specific folder IDs to fetch.
by_uuids (Optional[List[str]]): Specific folder UUIDs to fetch.
Returns:
Any: The API response with a list of asset folders or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
by_ids | No | ||
by_uuids | No | ||
search | No | ||
with_parent | No |
Input Schema (JSON Schema)
{
"properties": {
"by_ids": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "By Ids"
},
"by_uuids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "By Uuids"
},
"search": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Search"
},
"with_parent": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "With Parent"
}
},
"title": "retrieve_asset_foldersArguments",
"type": "object"
}