Get a Photo stack
GET
/api/v1/photos/stacks/{group_id}
const url = 'https://example.com/api/v1/photos/stacks/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”group_id
required
string
Responses
Section titled “Responses”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
Example
{ "error": { "code": "bad_request" }}