Skip to content

Check Client-Generated IDs on creating resource #42

Open
@Art4

Description

@Art4

As stated in the spec a client-generated ID along with a request to create a rescource MUST SHOULD be an UUID.

Source: http://jsonapi.org/format/1.0/#crud-creating-client-ids

Client-Generated IDs

A server MAY accept a client-generated ID along with a request to create a resource. An ID MUST be specified with an id key, the value of which MUST be a universally unique identifier. The client SHOULD use a properly generated and formatted UUID as described in RFC 4122 [RFC4122].

The default ID checker should check for UUIDs, but it should be possible to inject a custom checker.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions