Skip to content

chore(api): align the create success status across the three APIs #428

Description

@kauereinbold

A successful POST /api/reminders answers 200 from the .NET API and 201 from the Go and C++ APIs. The three sit behind an nginx round robin, so a client sees one or the other at random.

ADR-0011 (#394, PR #426) unified the 4xx and 5xx bodies but explicitly left success statuses out of scope. This is the remaining divergence.

Decide one status (201 Created with a Location header is the conventional choice) and apply it to all three, updating the Cypress api-contract.cy.js spec and any client that checks for 200.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiScope: .NET APIchoreMaintenance and cleanupcppC++ APIgoScope: Go API

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions