Skip to content

Get a Photo stack

GET
/api/v1/photos/stacks/{group_id}
curl --request GET \
--url https://example.com/api/v1/photos/stacks/example \
--header 'Authorization: Bearer <token>'

Requires a signed-in User. It returns the stack type and its media items. It returns 404 when the stack is missing. Route: /api/v1/photos/stacks/{group_id}. Inputs: group_id. Safe reads can use bounded retries.

group_id
required
string
Media typeapplication/json
object
capture_seconds
required
integer format: int64
group_id
required
string
kind
required
string
members
required
Array<object>
object
item_id
required
string
mime
required
string
owner_id
required
string
path
required
string
role
required
string
Examplegenerated
{
"capture_seconds": 1,
"group_id": "example",
"kind": "example",
"members": [
{
"item_id": "example",
"mime": "example",
"owner_id": "example",
"path": "example",
"role": "example"
}
]
}
Media typeapplication/json

The standard API error response: { "error": { ... } }.

object
error
required

Error details.

object
code
required

Stable machine-readable code.

string
Allowed values: bad_request unauthorized forbidden not_found conflict name_conflict_case name_too_long push_endpoint_rejected too_many_requests internal service_unavailable
details
One of:

Optional field or operation details.

object
key
additional properties
string
message
required

Safe text for logs or a user-facing error message.

string
Example
{
"error": {
"code": "bad_request"
}
}