Gallery

Gallery

Returns a gallery with all its images.

get/clubs/{club_id}/galleries/{id}

Request

  • Base URL
    https://api.clubplatform.de/api
  • URL
    https://api.clubplatform.de/api/clubs/{club_id}/galleries/{id}
  • Auth
    API key in query parameter auth_token

Path parameters

club_idinteger required

ID of the club.

idstring required

ID of the gallery.

Query parameters

limitinteger

Maximal number of items per page.

pageinteger

Index of requested page.

sort_images_bystring

Attribute to sort gallery images by.

order_images_by'asc' | 'desc'

Order of gallery images.

Headers

If-Modified-Sincestring date-time

This makes the request conditional - the server will send back the requested resource, with a 200 status, only if it has been last modified after the given date. If the request has not been modified since, the response will be a 304 without any body; the Last-Modified header will contain the date of last modification.

You MUST set this header, if you can, to respect API caching.

Response

OK

Example response

{
  "data": {
    "id": 42,
    "title": "Torschützen",
    "category": "Matchday",
    "locale": "de-DE",
    "images": [
      {
        "locale": "de-DE"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.