Posts
Paginated list of posts for a single location, used by the V4 REST /locations/:id/posts endpoint
Changed onReturns a page of social post campaigns (announcements, events, offers) that target a single location.
get/api/v4/locations/{locationId}/posts
Request
- Base URLhttps://listingsapi.com
- Auth
- API key in header Authorization
- or API key in header X-RapidAPI-Key and API key in header X-RapidAPI-Host
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
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
oneOflist for the response status - info
removed from the response body
oneOflist for the response status
- breaking
- info
pathrequest parameterlocationIdlist-of-types was widened by adding typesstring - info
for the
pathrequest parameterlocationId, the type was generalized fromintegerto no type, and format fromint32tobase64-or-int
- info