getTimeBucket
getTimeBucket
Query Parameters |
---|
albumId uuidFilter assets belonging to a specific album |
isFavorite booleanFilter by favorite status (true for favorites only, false for non-favorites only) |
isTrashed booleanFilter by trash status (true for trashed assets only, false for non-trashed only) |
key string |
order stringPossible values: [ Sort order for assets within time buckets (ASC for oldest first, DESC for newest first) |
personId uuidFilter assets containing a specific person (face recognition) |
tagId uuidFilter assets with a specific tag |
timeBucket string — REQUIREDTime bucket identifier in YYYY-MM-DD format (e.g., "2024-01-01" for January 2024) |
userId uuidFilter assets by specific user ID |
visibility stringPossible values: [ Filter by asset visibility status (ARCHIVE, TIMELINE, HIDDEN, LOCKED) |
withPartners booleanInclude assets shared by partners |
withStacked booleanInclude stacked assets in the response. When true, only primary assets from stacks are returned. |
Responses | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200
|