Searches all nodes within a specific dimension aspect and returns a paged list
of matching nodes.
Path Elements
+dimensionAspect
string
|
The URI path to a specific dimension aspect (whether by ID or by name).
|
Query Parameters
q
string
|
The search terms, consisting of one or more substrings, words, or phrases.
Matches will be considered based on node names and also the best
localized label available for the user's preferred language or locale.
|
perPage
string
|
A positive integer value specifying the maximum number of results per page.
The provided value may be silently altered by the service based on
the valid range specified here or other runtime criteria.
|
ancestorId
string
|
The UUID of a node in the current dimension. If provided, the search returns only those
nodes that declare an ancestor with this UUID (i.e., nodes that are descendant from a
node with the given UUID).
|
Example
1
Request:
Response:
HTTP/1.1
200
OK
{
"data": [
{
"aspect": {
"aspectID": "2b848a8c-c886-3253-921a-77c43cd50aae"
},
"id": "4be24f04-a3b7-37dc-9573-ae1da864d3df",
"label": {
"locale": "en",
"value": "Washington"
},
"name": "US-WA"
}
],
"meta": {
"next": {
"page": "AAAAAC8-sZBz_____w",
"perPage": "50",
"q": "Washington"
}
}
}
Example
2
Request:
Response:
HTTP/1.1
200
OK
{
{
"data": [
{
"ancestors": [
{
"aspectID": "6ddc09dc-4560-31d9-854e-9fe670374eb2",
"nodeID": "7516fd43-adaa-3e0b-8a65-a672c39845d2"
}
],
"aspect": {
"aspectID": "2b848a8c-c886-3253-921a-77c43cd50aae"
},
"id": "4be24f04-a3b7-37dc-9573-ae1da864d3df",
"label": {
"locale": "en",
"value": "Washington"
},
"name": "US-WA"
}
],
"meta": {
"next": {
"page": "AAAAAC8-sZBz_____w",
"perPage": "50",
"q": "Washington"
}
}
}
}
Example
3
Request:
Response:
HTTP/1.1
200
OK
{
"data": [
{
"ancestors": [
{
"aspectID": "6ddc09dc-4560-31d9-854e-9fe670374eb2",
"nodeID": "7516fd43-adaa-3e0b-8a65-a672c39845d2",
"nodeName": "US"
}
],
"aspect": {
"aspectID": "2b848a8c-c886-3253-921a-77c43cd50aae"
},
"id": "4be24f04-a3b7-37dc-9573-ae1da864d3df",
"label": {
"locale": "en",
"value": "Washington"
},
"name": "US-WA"
}
],
"meta": {
"next": {
"page": "AAAAAC8-sZBz_____w",
"perPage": "10",
"q": "Washington"
}
}
}
Example
4
Request:
Response:
HTTP/1.1
200
OK
{
"data": [
{
"ancestors": [
{
"aspectID": "6ddc09dc-4560-31d9-854e-9fe670374eb2",
"nodeID": "7516fd43-adaa-3e0b-8a65-a672c39845d2",
"nodeName": "US"
}
],
"aspect": {
"aspectID": "2b848a8c-c886-3253-921a-77c43cd50aae",
"aspectName": "STATE"
},
"id": "4be24f04-a3b7-37dc-9573-ae1da864d3df",
"label": {
"locale": "en",
"value": "Washington"
},
"labels": [
{
"locale": "en",
"value": "Washington"
}
],
"name": "US-WA"
}
],
"meta": {
"next": {
"page": "AAAAAC8-sZBz_____w",
"perPage": "10",
"q": "Washington"
}
}
}
Example
- Search for nodes in an aspect, filtering on a required ancestor
Request:
Response:
HTTP/1.1
200
OK
{
"data": [
{
"ancestors": [
{
"aspectID": "2b848a8c-c886-3253-921a-77c43cd50aae",
"nodeID": "41c068b2-f6d1-3cfe-bf22-7223ff489c1e",
"nodeName": "US-NY"
},
{
"aspectID": "6ddc09dc-4560-31d9-854e-9fe670374eb2",
"nodeID": "7516fd43-adaa-3e0b-8a65-a672c39845d2",
"nodeName": "US"
}
],
"aspect": {
"aspectID": "85921462-8431-3951-97c0-558f7b5f8ffc"
},
"id": "bb557c6a-9a5e-349b-8bda-645c09742f0b",
"label": {
"locale": "en",
"value": "New York (City)"
},
"name": "US-NY-New York"
}
],
"meta": {
"next": {
"ancestorId": "41c068b2-f6d1-3cfe-bf22-7223ff489c1e",
"page": "AAAAAG8_sMHq_____w",
"perPage": "50",
"q": "new"
}
}
}