Sha256: d8b1e14d58ad325512444aad751954d3619eaa0514fb900154b326860144083e
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/json" }, "request_query_parameters": { }, "response_headers": { "X-Frame-Options": "SAMEORIGIN", "X-XSS-Protection": "1; mode=block", "X-Content-Type-Options": "nosniff", "X-Download-Options": "noopen", "X-Permitted-Cross-Domain-Policies": "none", "Referrer-Policy": "strict-origin-when-cross-origin", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "9bc14c0f-433e-4df0-89d9-232ce2932040", "X-Runtime": "0.029629", "Expires": "0" }, "request_method": "PATCH", "request_path": "/api/admin/discounts/5d5dbd9cd4322a4b69d79307", "request_body": "{\"discount\":{\"name\":\"foo\"}}", "request_content_type": "application/json", "response_status": 204, "response_status_text": "No Content", "response_body": null, "response_content_type": null, "curl": "curl \"https://www.example.com/api/admin/discounts/5d5dbd9cd4322a4b69d79307\" -d '{\"discount\":{\"name\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Discounts", "description": "Updating discounts", "route": "/api/admin/discounts/:id", "http_method": "PATCH" }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workarea-api-4.4.6 | doc/api/admin/discounts/updating_discounts.json |