Posts

Paginated list of posts for a single location, used by the V4 REST /locations/:id/posts endpoint

Changed on

Returns a page of social post campaigns (announcements, events, offers) that target a single location.

get/api/v4/locations/{locationId}/posts

Request

Path parameters

integer required

Raw numeric ID

OR
string base64-or-int required

Base64-encoded Relay ID

Location ID: the base64 Relay id returned in a location record's id (e.g. TG9jYXRpb246MTgwMDI4OQ==), or the raw numeric id.

Query parameters

pageinteger

1-based page number for offset pagination.

perPageinteger

Number of records per page. Must not exceed 50.

Response

Successful response

Changes

    • breaking

      added to the response body oneOf list for the response status

    • info

      removed from the response body oneOf list for the response status

    • info

      path request parameter locationId list-of-types was widened by adding types string

    • info

      for the path request parameter locationId, the type was generalized from integer to no type, and format from int32 to base64-or-int