Search documentation
karat

+

K

User Documentation ↗
Version 2.0

Search Maps

GET/api/v2/gaia/maps/search
Warning

This endpoint is in preview and may be modified or removed at any time. To use this endpoint, add preview=true to the request query parameters.

Retrieves all published maps containing the mapName (does not have to be exact).

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:map-read.

Query parameters

mapName
string

The name of the map(s) to be queried.

pageSize
integer
optional

The maximum number of matching Gaia maps to return. Defaults to 50.

pageToken
string
optional

The page token indicates where to start paging. This should be omitted from the first page's request.

preview
boolean
optional

Enables the use of preview functionality.

Response body

SearchMapsResponse
object

The response body containing the queried Gaia maps

Hide child attributes

Hide child attributes

data
list<GaiaMapMetadata>
optional
Show child attributes

Show child attributes

nextPageToken
string
optional

The page token indicates where to start paging. api-gateway's Core.PageToken is an immutable @Unsafe String, which is incompatible with Gaia's backend search. This is a custom PageToken that is an immutable @Safe String.

Examples

Request

Copied!
1 2 3 curl \ \t-H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/gaia/maps/search?mapName=Example+map+name&preview=true"

Error responses

Error Name
ErrorConvertingAppDataError CodeINTERNAL
Status Code500
DescriptionFailed to convert MapAppData from artifact appData to gaia MapAppData
ParametersmapId
SearchMapsPermissionDeniedError CodePERMISSION_DENIED
Status Code403
DescriptionCould not search the Map.
Parameters