590 строки
23 KiB
JSON
590 строки
23 KiB
JSON
{
|
|
"properties": {
|
|
"capabilities": [
|
|
"actions"
|
|
],
|
|
"connectionParameters": {
|
|
"token": {
|
|
"type": "oauthSetting",
|
|
"oAuthSettings": {
|
|
"identityProvider": "aadcertificate",
|
|
"clientId": "<<Please add your clientID here>>",
|
|
"scopes": [
|
|
"Group.ReadWrite.All offline_access"
|
|
],
|
|
"redirectMode": "Global",
|
|
"redirectUrl": "https://global.consent.azure-apim.net/redirect",
|
|
"properties": {
|
|
"IsFirstParty": "True"
|
|
},
|
|
"customParameters": {
|
|
"resourceUri": {
|
|
"value": "https://graph.microsoft.com/"
|
|
},
|
|
"loginUri": {
|
|
"value": "https://login.windows.net"
|
|
},
|
|
"loginUriAAD": {
|
|
"value": "https://login.windows.net"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"token:TenantId": {
|
|
"type": "string",
|
|
"metadata": {
|
|
"sourceType": "AzureActiveDirectoryTenant"
|
|
},
|
|
"uiDefinition": {
|
|
"displayName": "Tenant",
|
|
"description": "The tenant ID of for the Azure Active Directory application",
|
|
"constraints": {
|
|
"required": "false",
|
|
"hidden": "true"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"iconBrandColor": "#007ee6",
|
|
"policyTemplateInstances": [
|
|
{
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
|
"x-ms-apimTemplateParameter.newPath": "/v1.0/planner/tasks/{id}/details"
|
|
},
|
|
"templateId": "routerequesttoendpoint",
|
|
"title": "Redirect to UpdateTaskDetails API"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"ListGroups"
|
|
],
|
|
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
|
"x-ms-apimTemplateParameter.newPath": "/v1.0/me/memberOf/$/microsoft.graph.group"
|
|
},
|
|
"templateId": "routerequesttoendpoint",
|
|
"title": "Redirect to ListGroups API"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"ListMyTasks_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
|
"x-ms-apimTemplateParameter.newPath": "/v1.0/me/planner/tasks"
|
|
},
|
|
"templateId": "routerequesttoendpoint",
|
|
"title": "Redirect to ListMyTasks API"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"ListTasks_V3"
|
|
],
|
|
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
|
"x-ms-apimTemplateParameter.newPath": "/v1.0/planner/plans/{id}/tasks"
|
|
},
|
|
"templateId": "routerequesttoendpoint",
|
|
"title": "Redirect to ListTasks API"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"CreateBucket_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
|
"x-ms-apimTemplateParameter.newPath": "/v1.0/planner/buckets"
|
|
},
|
|
"templateId": "routerequesttoendpoint",
|
|
"title": "Redirect to CreateBucket API"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"ListBuckets_V3"
|
|
],
|
|
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
|
"x-ms-apimTemplateParameter.newPath": "/v1.0/planner/plans/{id}/buckets"
|
|
},
|
|
"templateId": "routerequesttoendpoint",
|
|
"title": "Redirect to ListBuckets API"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"CreateTask_V3"
|
|
],
|
|
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
|
"x-ms-apimTemplateParameter.newPath": "/v1.0/planner/tasks"
|
|
},
|
|
"templateId": "routerequesttoendpoint",
|
|
"title": "Redirect to CreateTask API"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"CreateTask_V4"
|
|
],
|
|
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
|
"x-ms-apimTemplateParameter.newPath": "/beta/planner/tasks"
|
|
},
|
|
"templateId": "routerequesttoendpoint",
|
|
"title": "Redirect to CreateTask API"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetTask_V2",
|
|
"UpdateTask_V3",
|
|
"UnassignUsers",
|
|
"AssignUsers"
|
|
],
|
|
"x-ms-apimTemplateParameter.httpMethod": "@Request.OriginalHTTPMethod",
|
|
"x-ms-apimTemplateParameter.newPath": "/v1.0/planner/tasks/{id}"
|
|
},
|
|
"templateId": "routerequesttoendpoint",
|
|
"title": "Redirect to Task API"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.parameterTemplate": "@headers('If-Match')",
|
|
"x-ms-apimTemplateParameter.parameterValueUrl": "/v1.0/planner/tasks/{id}/details",
|
|
"x-ms-apimTemplateParameter.parameterValuePathTemplate": "@body()['@odata.etag']",
|
|
"x-ms-apimTemplateParameter.httpMethod": "GET",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "SetValueFromUrl",
|
|
"title": "Set If-Match header for update task details"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body().references",
|
|
"x-ms-apimTemplateParameter.newPropertySubPathTemplate": "previewPriority",
|
|
"x-ms-apimTemplateParameter.propertyValuePathTemplate": " !",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "SetProperty",
|
|
"title": "Set previewPriority"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body().references",
|
|
"x-ms-apimTemplateParameter.newPropertySubPathTemplate": "['@odata.type']",
|
|
"x-ms-apimTemplateParameter.propertyValuePathTemplate": "microsoft.graph.plannerExternalReference",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "SetProperty",
|
|
"title": "Set odata type for external reference"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.sourceString": "%",
|
|
"x-ms-apimTemplateParameter.replacementString": "%25",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().resourceLink",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Encode percentage in resourceLink for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.sourceString": ".",
|
|
"x-ms-apimTemplateParameter.replacementString": "%2E",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().resourceLink",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Encode dots in resourceLink for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.sourceString": ":",
|
|
"x-ms-apimTemplateParameter.replacementString": "%3A",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().resourceLink",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Encode colon in resourceLink for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails",
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.sourceString": "@",
|
|
"x-ms-apimTemplateParameter.replacementString": "%40",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().resourceLink",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Encode 'at' sign in resourceLink for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails",
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.sourceString": "#",
|
|
"x-ms-apimTemplateParameter.replacementString": "%23",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().resourceLink",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Encode sharp sign in resourceLink for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body()",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "references",
|
|
"x-ms-apimTemplateParameter.keyWithinCollectionPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.retainKey": "false",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "ConvertArrayToObject",
|
|
"title": "Convert array of references to object"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
|
|
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body().checklist",
|
|
"x-ms-apimTemplateParameter.newPropertySubPathTemplate": "['@odata.type']",
|
|
"x-ms-apimTemplateParameter.propertyValuePathTemplate": "microsoft.graph.plannerChecklistItem",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
|
|
},
|
|
"templateId": "SetProperty",
|
|
"title": "Set odata type for checklist item"
|
|
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body()",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "checklist",
|
|
"x-ms-apimTemplateParameter.keyWithinCollectionPath": "id",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@body().checklist",
|
|
"x-ms-apimTemplateParameter.retainKey": "false",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
|
|
},
|
|
|
|
"templateId": "ConvertArrayToObject",
|
|
|
|
"title": "Convert array of checklist items to object"
|
|
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"ListGroups"
|
|
],
|
|
"x-ms-apimTemplateParameter.name": "$filter",
|
|
"x-ms-apimTemplateParameter.value": "groupTypes/any(c:c eq 'Unified')"
|
|
},
|
|
"templateId": "setQueryParameter",
|
|
"title": "Set $filter query parameter for groups"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"ListGroups"
|
|
],
|
|
"x-ms-apimTemplateParameter.name": "$select",
|
|
"x-ms-apimTemplateParameter.value": "id,displayName"
|
|
},
|
|
"templateId": "setQueryParameter",
|
|
"title": "Set $select query parameter for groups"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"UpdateTask_V3",
|
|
"UnassignUsers",
|
|
"AssignUsers",
|
|
"DeleteTask"
|
|
],
|
|
"x-ms-apimTemplateParameter.parameterTemplate": "@headers('If-Match')",
|
|
"x-ms-apimTemplateParameter.parameterValueUrl": "/v1.0/planner/tasks/{id}",
|
|
"x-ms-apimTemplateParameter.parameterValuePathTemplate": "@body()['@odata.etag']",
|
|
"x-ms-apimTemplateParameter.httpMethod": "GET",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "SetValueFromUrl",
|
|
"title": "Set If-Match header for update task"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"CreateTask_V3",
|
|
"CreateTask_V4",
|
|
"UnassignUsers",
|
|
"AssignUsers"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body()",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "assignments",
|
|
"x-ms-apimTemplateParameter.delimiterList": ";",
|
|
"x-ms-apimTemplateParameter.childPropertyName": "userId",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@body().assignments",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "StringToArray",
|
|
"title": "Convert semi-colon separated user ids to array"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"CreateTask_V3",
|
|
"CreateTask_V4",
|
|
"AssignUsers"
|
|
],
|
|
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body().assignments",
|
|
"x-ms-apimTemplateParameter.newPropertySubPathTemplate": "['orderHint']",
|
|
"x-ms-apimTemplateParameter.propertyValuePathTemplate": " !",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "SetProperty",
|
|
"title": "Set orderHint"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"CreateTask_V3",
|
|
"CreateTask_V4",
|
|
"AssignUsers"
|
|
],
|
|
"x-ms-apimTemplateParameter.newPropertyParentPathTemplate": "@body().assignments",
|
|
"x-ms-apimTemplateParameter.newPropertySubPathTemplate": "['@odata.type']",
|
|
"x-ms-apimTemplateParameter.propertyValuePathTemplate": "microsoft.graph.plannerAssignment",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "SetProperty",
|
|
"title": "Set odata type for assignment"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"CreateTask_V3",
|
|
"CreateTask_V4",
|
|
"UnassignUsers",
|
|
"AssignUsers"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().assignments",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "userId",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().userId",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "EncodePropertyValue",
|
|
"title": "Encode assignees"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"CreateTask_V3",
|
|
"CreateTask_V4",
|
|
"UnassignUsers",
|
|
"AssignUsers"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().assignments",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "userId",
|
|
"x-ms-apimTemplateParameter.sourceString": ".",
|
|
"x-ms-apimTemplateParameter.replacementString": "%2E",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().userId",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Encode dots in userId for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"CreateTask_V3",
|
|
"CreateTask_V4",
|
|
"UnassignUsers",
|
|
"AssignUsers"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body()",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "assignments",
|
|
"x-ms-apimTemplateParameter.keyWithinCollectionPath": "userId",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@body().assignments",
|
|
"x-ms-apimTemplateParameter.retainKey": "false",
|
|
"x-ms-apimTemplate-policySection": "Request"
|
|
},
|
|
"templateId": "ConvertArrayToObject",
|
|
"title": "Convert array of assignees to object"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetTask_V2",
|
|
"CreateTask_V3",
|
|
"CreateTask_V4",
|
|
"UpdateTask_V3",
|
|
"UnassignUsers",
|
|
"AssignUsers"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body()",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "assignments",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@body()._assignments",
|
|
"x-ms-apimTemplateParameter.keyName": "userId",
|
|
"x-ms-apimTemplateParameter.valueName": "value",
|
|
"x-ms-apimTemplate-policySection": "Response"
|
|
},
|
|
"templateId": "ConvertObjectToArray",
|
|
"title": "Convert object of assignees to array for a task"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"ListTasks_V3",
|
|
"ListMyTasks_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().value",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "assignments",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item()._assignments",
|
|
"x-ms-apimTemplateParameter.keyName": "userId",
|
|
"x-ms-apimTemplateParameter.valueName": "value",
|
|
"x-ms-apimTemplate-policySection": "Response"
|
|
},
|
|
"templateId": "ConvertObjectToArray",
|
|
"title": "Convert object of assignees to array for an array of tasks"
|
|
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetTaskDetails_V2",
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body()",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "checklist",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@body().checklist",
|
|
"x-ms-apimTemplateParameter.keyName": "id",
|
|
"x-ms-apimTemplateParameter.valueName": "value",
|
|
"x-ms-apimTemplate-policySection": "Response"
|
|
|
|
},
|
|
"templateId": "ConvertObjectToArray",
|
|
"title": "Convert object of checklist items to array"
|
|
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetTaskDetails_V2",
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body()",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "references",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.keyName": "resourceLink",
|
|
"x-ms-apimTemplateParameter.valueName": "value",
|
|
"x-ms-apimTemplate-policySection": "Response"
|
|
|
|
},
|
|
"templateId": "ConvertObjectToArray",
|
|
"title": "Convert object of references to array for task details"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetTaskDetails_V2",
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.sourceString": "%2E",
|
|
"x-ms-apimTemplateParameter.replacementString": ".",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().resourceLink",
|
|
"x-ms-apimTemplate-policySection": "Response"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Decode dots in response resourceLink for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetTaskDetails_V2",
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.sourceString": "%3A",
|
|
"x-ms-apimTemplateParameter.replacementString": ":",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().resourceLink",
|
|
"x-ms-apimTemplate-policySection": "Response"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Decode colon in response resourceLink for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetTaskDetails_V2",
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.sourceString": "%25",
|
|
"x-ms-apimTemplateParameter.replacementString": "%",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().resourceLink",
|
|
"x-ms-apimTemplate-policySection": "Response"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Decode percentage in response resourceLink for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetTaskDetails_V2",
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.sourceString": "%40",
|
|
"x-ms-apimTemplateParameter.replacementString": "@",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().resourceLink",
|
|
"x-ms-apimTemplate-policySection": "Response"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Decode 'at' sign in response resourceLink for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"GetTaskDetails_V2",
|
|
"UpdateTaskDetails_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.propertyParentPath": "@body().references",
|
|
"x-ms-apimTemplateParameter.propertySubPath": "resourceLink",
|
|
"x-ms-apimTemplateParameter.sourceString": "%23",
|
|
"x-ms-apimTemplateParameter.replacementString": "#",
|
|
"x-ms-apimTemplateParameter.newPropertyPath": "@item().resourceLink",
|
|
"x-ms-apimTemplate-policySection": "Response"
|
|
},
|
|
"templateId": "StringReplace",
|
|
"title": "Decode sharp sign in response resourceLink for OData"
|
|
}, {
|
|
"parameters": {
|
|
"x-ms-apimTemplate-operationName": [
|
|
"ListTasks_V2",
|
|
"ListTasks_V3",
|
|
"ListMyTasks_V2"
|
|
],
|
|
"x-ms-apimTemplateParameter.nextLinkPropertyName": "@odata.nextLink"
|
|
},
|
|
"templateId": "updatenextlink",
|
|
"title": "Updates next link to make paging work"
|
|
}
|
|
]
|
|
}
|
|
} |