Search media items
documentedSearches for app created media items in a user's Google Photos library.
POST /v1/mediaItems:searchMediaItemsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://photoslibrary.googleapis.com/v1/mediaItems:search" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"pageSize": {{$limit}}, "pageToken": "{{$pageToken}}", "filters": {"dateFilter": {"dates": [ {"year": {{$year}}, "month": {{$month}}, "day": {{$day}} } ] }, "mediaTypeFilter": {"mediaTypes": ["PHOTO"]} }, "orderBy": "{{$orderBy}}"}'