Activity

Activities

Returns activities of the club.

get/clubs/{club_id}/activities

Request

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

Path parameters

club_idinteger required

ID of the club.

Query parameters

locale'de-DE' | 'en-GB' | 'nl-NL'

It returns only items for that locale. Additionally, as side effect the response will be in that locale.

NOTE: The locale must be whitelisted for your club! If not the locale for the auth_token will be used as default.

Filter ItemsSet locale
✅✅
limitinteger

Maximal number of items per page.

untilstring date-time

Returns only items before that time.

source[]string[]

List of sources to filter the result. Use one or multiple of following:

news_items, videos, posts, galleries, match_facts_or_events

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": [
    {
      "external_id": "42",
      "external_url": "https://www.facebook.com/DouglasSantosDS6OFICIAL/photos/a.177194459096974.1073741828.177157089100711/797601193722961/?type=3",
      "type": "facebook_post",
      "image_width": 800,
      "image_height": 600,
      "account": {
        "name": "HSV",
        "id": 761841,
        "group_id": 757,
        "username": "HSV"
      }
    }
  ]
}

Changes

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