GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [FEATURE] Add idempotency support for billable order and VPS purchase endpoints · Issue #49 · hostinger/api Open DescriptionFeature DescriptionPlease add documented idempotency support for billable operations, especially: For example, support an Problem StatementAgentic and CI-style workflows commonly run across flaky networks, process restarts, and retry loops. For non-billable operations, retrying is usually safe. For purchase/order endpoints, retrying can accidentally create duplicate billable resources unless the API provides an idempotency contract. Without documented idempotency, clients have to build weaker workarounds such as:
Those workarounds are fragile and hard to make safe. Proposed SolutionDocument and support a header such as: Idempotency-Key: 2f2e8f70-46d3-4a4a-a828-exampleFor a repeated request with the same key and same body, the API should return the original order/virtual-machine response instead of creating a duplicate resource. For a repeated request with the same key and a different body, the API should return a clear conflict error. It would also help to document:
Use Cases
Additional ContextThe VPS purchase response already has a useful shape with both Are you willing to contribute?
ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |