List Objects For S3
Backs S3 ListObjectsV2 for a bucket: a flat recursive listing, or directory mode (delimiter "/") with common prefixes interleaved in lexicographic key order. max_keys of 0 or above 1000 falls back to 1000; continuation_token is the last key of the previous page. Requires a live, enabled verified_access_key_id that covers the bucket; otherwise, or for an unknown bucket, the response carries denied. Any delimiter other than "" or "/" is rejected with InvalidArgument. Virtual-file folder contents are omitted.
Access: internal only — the portal worker, authenticated by the shared X-Upl-Internal-Token header matching S3_CREDENTIALS_INTERNAL_TOKEN (FailedPrecondition when unset, Unauthenticated on mismatch). No user authentication.
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Required: only SigV4-verified access keys may list. The api recomputes the key's authority over the bucket.
1 <= lengthS3 key prefix filter (no leading slash). Empty = whole bucket.
length <= 1024"" (flat/recursive) or "/" (directory mode: immediate children + common prefixes). Other delimiters are not supported.
length <= 11-1000; defaults to 1000.
int320 <= value <= 1000Opaque keyset cursor from a previous page's next_continuation_token.
length <= 2048Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.InternalPortalService/ListObjectsForS3" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"denied": "map[reason:REASON_ACCESS_DENIED]",
"objects": [
"map[key:photos/beach.jpg sizeBytes:2483917 updatedAt:2026-10-22T09:30:00Z uploadId:9b7e4d2a-3c61-4f0e-8a2d-5e1b7c9f0a34]"
],
"commonPrefixes": [
"photos/2026/"
],
"isTruncated": "true",
"nextContinuationToken": "photos/beach.jpg"
}