Skip to content

Clarification of resource requirements #37

@darrelmiller

Description

@darrelmiller

Resources MUST publish a idempotency related specification. This specification MUST include expiration related policy if applicable. A resource is responsible for managing the lifecycle of the idempotency key.

It does not seem appropriate to have a MUST requirement on out of band documentation.

This section should focus on resource behavior observable by the client. Discussion of fingerprinting seems unnecessary unless it affects behaviour visible to the client.

If the concurrent request error should be a 409 then the status code should be stated explicitly. Why is it a SHOULD and not a MUST?

Requiring a retry request to returning the same response does not seem appropriate. A first PATCH that ends up returning a 201 because the resource previously did not exist, should probably return a 200 on the second attempt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Discussion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions