---
title: "GET /rest?method=flickr.groups.pools.getContext"
method: GET
path: "/rest?method=flickr.groups.pools.getContext"
tags: ["Public"]
---

# GET /rest?method=flickr.groups.pools.getContext

`GET /rest?method=flickr.groups.pools.getContext`

Returns next and previous photos for a photo in a group pool

## Query parameters

- `api_key` string, required
- `photo_id` string, required
- `group_id` string

## Response `200`

OK

- object
  - `count` object
    - `_content` string
  - `prevphoto` ContextPhoto
    - `id` string
    - `secret` string
    - `server` string
    - `farm` string
    - `title` string
    - `url` string
    - `thumb` string
    - `media` string
    - `owner` string
    - `license` integer
    - `safe` boolean
    - `is_faved` boolean
  - `nextphoto` ContextPhoto
    - `id` string
    - `secret` string
    - `server` string
    - `farm` string
    - `title` string
    - `url` string
    - `thumb` string
    - `media` string
    - `owner` string
    - `license` integer
    - `safe` boolean
    - `is_faved` boolean
  - `stat` string

---

[API](https://skmtc.dev/flickr/apis/flickr-api-schema.md) · [All operations](https://skmtc.dev/flickr/apis/flickr-api-schema/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flickr/flickr-api-schema/revisions/0bb9aa5f48a7/schema)
