{
  "GlobalSettings": {
    "type": "dynamic"
  },
  "vectors": [
    {
      "URL": "$BaseURL/api/v1/applications",
      "urlId": 1,
      "replaceParams": [
        {
          "param": "appid",
          "path": "$[*].id"
        }
      ],
      "URLSetting": {
        "requestType": "get"
      }
    },
    {
      "URL": "$BaseURL/api/v1/applications/appid#1/stages",
      "urlId": 2,
	  "depURLIds": [
        1
      ],
      "replaceParams": [
        {
          "param": "stageID",
          "path": "$[*].stageId"
        }
      ],
      "URLSetting": {
        "requestType": "get"
      }
    },
    {
      "URL": "$BaseURL/api/v1/applications/appid#1/stages/stageID#2/0/taskList",
      "urlId": 3,
	  "depURLIds": [
		2	
      ],
      "path": [
	{
          "isPartOfHierarchy": true,
          "defName": "3"
        },
	{
          "isPartOfHierarchy": true,
          "query": "$[*].taskId",
		  "replaceVectorKey": "taskIdKey"
        },
	{
          "isPartOfHierarchy": true,
          "defName": "stageID#2"
        }
      ],
      "URLSetting": {
        "requestType": "get"
      },
      "metrics": [
        {
          "mPath": "$[*].[?(@.taskId=='taskIdKey')]",
	  "jOutputPath":"$[*].[?(@.taskId=='taskIdKey')]",
	  "index":1,
	  "type": 1,
          "attribute": []
        }
      ]
    }	
  ]
}
