{ "operationId": "put-graphql-settings", "method": "PUT", "path": "/endpoints/{apiEndPointId}/versions/{versionNumber}/settings/graphql", "summary": "Edit GraphQL cache settings", "requestExamples": [ { "contentType": "application/json", "example": { "bodyParamName": "body-param-name", "cacheOrigin": false, "cacheResponseOnError": null, "detectError": false, "enabled": true, "maxQuerySize": null, "nestingLevel": null, "queryParamName": "query-param-name", "serveStale": null, "downstreamCaching": { "headers": "SAME_AS_ORIGIN", "lifetime": "SMALLER_VALUE", "markAsPrivate": false, "option": "ALLOW_CACHING" }, "maxAge": { "duration": 420, "unit": "HOURS" }, "preRefreshing": { "enabled": true, "value": 50 } } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "bodyParamName": "body-param-name", "cacheOrigin": false, "cacheResponseOnError": null, "detectError": false, "enabled": true, "maxQuerySize": null, "nestingLevel": null, "queryParamName": "query-param-name", "serveStale": null, "downstreamCaching": { "headers": "SAME_AS_ORIGIN", "lifetime": "SMALLER_VALUE", "markAsPrivate": false, "option": "ALLOW_CACHING" }, "maxAge": { "duration": 420, "unit": "HOURS" }, "preRefreshing": { "enabled": true, "value": 50 } } } ] }