Skip to content

Get a list of Directory Pages

Request

Get several Directory Pages.

Security
X-API-KEY or Authorization
Query
typesstring

The directory types we want pages for.

levelsstring

String that represents the level of a directory page. The 2 possible values are "LISTING" and "BUSINESS"

locationIdsArray of strings

Return directory pages where input locationIds have access to

pageinteger, (int64)

Used for pagination. Page number we're interested in

sizeinteger, (int64)

Used for pagination. It indicates the amount of result to be returned in a single page

querystring

Filter by page name

curl -i -X GET \
  'https://uberall.com/api/social-posts/directory-pages?types=string&levels=string&locationIds=string&page=0&size=0&query=string' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

Directory Pages retrieved

Bodyapplication/json
statusstringrequired
Enum:"SUCCESS""PENDING""QUOTA_LIMIT_EXCEED""NOT_AUTHORIZED""FORBIDDEN""BAD_ACCESS_TOKEN""BAD_PRIVATE_KEY""BAD_PUBLIC_KEY""MISSING_PARAMETER""INVALID_PARAMETER"
messagestring

(optional) Holds further information about the response

warningsArray of strings

(optional) Holds further warnings

responseobjectrequired

List Directory Pages Response Model

Response
GetSocialPostDirectoryPageExample
{ "status": "SUCCESS", "response": { "directoryPages": [ … ], "page": 0, "size": 50, "totalSize": 1 } }