Sitecore Community GraphQL Cookbook

Dictionary Search

GraphQL query to retrieve dictionaries. This is being used the JSS SDK when fetching translations
Source: JSS SDK
    JSS SDKDelivery APISearch

JSON Variables


Query


JSON Response

1{
2  "data": {
3    "search": {
4      "total": 1,
5      "pageInfo": {
6        "endCursor": "eyJzZWFyY2hBZnRlciI...",
7        "hasNext": false
8      },
9      "results": [
10        {
11          "key": {
12            "value": "test-key"
13          },
14          "phrase": {
15            "value": "This is a test key"
16          }
17        }
18      ]
19    }
20  }
21}