summaryrefslogtreecommitdiffstats
path: root/test/resource-resolution/data-dict/RT-rest-get-id.json
blob: b6650270c566a968c22ead69a121a39b1e0e5ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  "name": "RT-rest-get-id",
  "data_type": "string",
  "description": "Rest GET request using input key mapping",
  "tags": "RT-rest-get-id",
  "updatedBy": "Selfish",
  "definition": {
    "name": "RT-rest-get-id",
    "tags": "RT-rest-get-id",
    "updated-by": "Selffish",
    "property": {
      "description": "Rest GET request using input key mapping",
      "type": "string"
    },
    "sources": {
      "sdnc": {
        "type": "source-rest",
        "properties": {
          "type": "string",
          "verb": "GET",
          "url-path": "/get/$id/id",
          "endpoint-selector": "rest-endpoint",
          "path": "",
          "input-key-mapping": {
            "id": "j_get"
          },
          "output-key-mapping": {
            "value": "value"
          }
        }
      }
    }
  }
}