Get Folder Contents
Retrieves paginated, filtered, and sorted media items in a folder
GET
/api/v1/{app_id}/folders/{id}/contentsAuthorization
AuthorizationAPI key · headerrequiredBearer token (format: "Bearer {token}")
Path parameters
app_idstringrequiredApp ID
idstringrequiredFolder ID
Query parameters
pageintegerPage number (default: 1)
per_pageintegerItems per page (default: 20, max: 100)
typestringFilter by type: image, video, file, all (default: all)
sort_bystringSort field: name, created_at, updated_at, type (default: created_at)
sort_orderstringSort order: asc, desc (default: desc)
attributesstring[]Filter by attribute(s). Repeat the query parameter once per filter, each in the form template_key/attribute_key. Filters sharing the same template_key combine with OR; distinct template_keys combine with AND. Example: ?attributes=color/red&attributes=color/blue&attributes=size/large
Responses
200
Folder contents
datainternal_pkg_webserver_public-webserver_v1.MediaItemResponse[] | nullShow propertiesHide properties
Array of
internal_pkg_webserver_public-webserver_v1.MediaItemResponsealt_textstring | nullattributesAttributeResponse[] | nullShow propertiesHide properties
Array of
AttributeResponsedescriptionstringidstringkeystringnamestringvaluesobject | nullblurhashstring | nullcopyrightstring | nullcreated_atstringcustominteger[] | nulldescriptionstring | nullfile_typestring | nullfolderFolderRef | nullShow propertiesHide properties
Any of:
FolderRef
idstringnamestringpublicbooleanslugstringnull
nullidstringstatusstring | nulltitlestring | nulltranslationsMediaItemTranslationsShow propertiesHide properties
altTranslation[] | nullShow propertiesHide properties
Array of
TranslationidstringlocalestringvaluestringdescriptionTranslation[] | nulltitleTranslation[] | nulltypeTranslation[] | nulltypestringupdated_atstring | nullurlstringvariantsVideoVariantResponse[] | nullShow propertiesHide properties
Array of
VideoVariantResponsecreated_atstringformatstringheightintegeridstringupdated_atstringurlstringwidthintegerpaginationinternal_pkg_webserver_public-webserver_v1.PageInfoShow propertiesHide properties
pageintegerper_pageintegertotal_itemsintegertotal_pagesintegersuccessboolean400
Invalid request
detailsstring[] | nullerrorstring404
Folder not found
detailsstring[] | nullerrorstring500
Internal server error
detailsstring[] | nullerrorstring