You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`http-data-source`| Configures the HTTP request and optionally the HTTP response that are used to resolve data for the given `parent-type` and `field`. | Yes |
288
292
|`http-request`| Specifies a URL and child policies to configure the resolver's HTTP request. Each of the following policies can be specified at most once in the element. <br/><br/>Required policy: [set-method](api-management-advanced-policies.md#SetRequestMethod)<br/><br/>Optional policies: [set-header](api-management-transformation-policies.md#SetHTTPheader), [set-body](api-management-transformation-policies.md#SetBody), [authentication-certificate](api-management-authentication-policies.md#ClientCertificate)| Yes |
289
293
|`set-url`| The URL of the resolver's HTTP request. | Yes |
290
-
|`http-response`| Optionally specifies child policies to configure the resolver's HTTP response. If not specified, the response is returned as a raw string. Each of the following policies can be specified at most once. <br/><br/>Optional policies: [set-body](api-management-transformation-policies.md#SetBody), [json-to-xml](api-management-transformation-policies.md#ConvertJSONtoXML), [xml-to-json](api-management-transformation-policies.md#ConvertXMLtoJSON), [find-and-replace](api-management-transformation-policies.md#Findandreplacestringinbody)| No |
294
+
|`http-response`| Optionally specifies child policies to configure the resolver's HTTP response. If not specified, the response is returned as a raw string. Each of the following policies can be specified at most once. <br/><br/>Optional policies: [set-body](api-management-transformation-policies.md#SetBody), , [xml-to-json](api-management-transformation-policies.md#ConvertXMLtoJSON), [find-and-replace](api-management-transformation-policies.md#Findandreplacestringinbody)| No |
|`parent-type`| An object type in the GraphQL schema. | Yes | N/A |
297
301
|`field`| A field of the specified `parent-type` in the GraphQL schema. | Yes | N/A |
302
+
|`set-method`| HTTP method of the resolver's HTTP request, specified using the [set-method](api-management-advanced-policies.md#SetRequestMethod) policy. | Yes | N/A |
303
+
|`set-url`| URL of the resolver's HTTP request. | Yes | N/A |
304
+
|`set-header`| Header set in the resolver's HTTP request, specified using the [set-header](api-management-transformation-policies.md#SetHTTPheader) policy. | No | N/A |
305
+
|`set-body`| Body set in the resolver's HTTP request, specified using the [set-body](api-management-transformation-policies.md#SetBody) policy. | No | N/A |
306
+
|`authentication-certificate`| Client certificate presented in the resolver's HTTP request, specified using the [authentication-certificate](api-management-authentication-policies.md#ClientCertificate) policy. | No | N/A |
307
+
|`json-to-xml`| Transforms the resolver's HTTP response using the [json-to-xml](api-management-transformation-policies.md#ConvertJSONtoXML) policy. | No | N/A |
308
+
|`xml-to-json`| Transforms the resolver's HTTP response using the [xml-to-json](api-management-transformation-policies.md#ConvertJSONtoXML) policy. | No | N/A |
309
+
|`find-and-replace`| Transforms the resolver's HTTP response using the [find-and-replace](api-management-transformation-policies.md#Findandreplacestringinbody) policy. | No | N/A |
298
310
299
311
> [!NOTE]
300
312
> Currently, the values of `parent-type` and `field` aren't validated by this policy. If they aren't valid, the policy is ignored, and the GraphQL query is forwarded to a GraphQL endpoint (if one is configured).
Copy file name to clipboardExpand all lines: includes/api-management-policy-generic-alert.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
author: dlepow
3
3
ms.service: api-management
4
4
ms.topic: include
5
-
ms.date: 03/15/2022
5
+
ms.date: 06/27/2022
6
6
ms.author: danlep
7
7
---
8
8
> [!TIP]
9
-
> Learn [how to set or edit API Management policies](../articles/api-management/set-edit-policies.md).
9
+
> Set policy attributes and elements in the order provided in the policy statement and examples. Learn more about[how to set or edit API Management policies](../articles/api-management/set-edit-policies.md).
0 commit comments