searchByPrecinctUuid

get

searchByPrecinctUuid

Provide the ability to search for content within a specified precinct identified by a unique identifier (uuid).

Resource URL

https://tih-api.stb.gov.sg/content /v1/search/precinct

Query Parameters

Name Values Description
uuid
(required)

Attribute used to uniquely identify Precincts.
Max: 255 characters
Validation: valid uuid

dataset

Dataset which the search will be executed on. (accommodation, attractions, bars_clubs, event, food_beverages, shops, venue, walking_trail).
Validation: valid dataset(s)

filtersource

Filter the content based on specific source or multiple sources by using a comma-delimited string of values.
Max: 255 characters
Validation: valid content source & case sensitive
E.g. stb,other countent source(s)

page

Page number for pagination of the returned records. Default sets to 1.
Validation: integer

pageSize

Records per page for pagination of the returned records. Accept integer from 1 to 20. Default sets to 20.
Validation: integer

sortBy

Field name to sort. Possible values: [name | category | source]. When no value is specified, return the most recent/matching records first. sortOrder parameter is ignored when sortBy is not specified.

sortOrder

Sort order [asc | desc].
Validation: acceptable sort order value

language

Supported language [en | zh-cn | zh-tw | ja | ko].
Validation: acceptable language code

Try it out

HTTP Basic

OAuth 2.0

API Key

RESET

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

HTTP Code Error Code Description
400 400 Bad request
401 401 Unauthorized
404 404 Not Found

Resource Summary

Security Category

Precincts

Working...