gentics / mesh-incubator

Project which is home for planned enhancements for Gentics Mesh
3 stars 0 forks source link

Support PUT #45

Open Jotschi opened 6 years ago

Jotschi commented 6 years ago

Creating nodes using a given uuid should use PUT not POST

Important: PUT must be idempotent

Node API

POST: Creation of new nodes PATCH: Partial updates of nodes PUT: Full updates of nodes, Creation of nodes with given id (idempotent) | e.g.: updateOrCreate / override

Examples:

Webroot API

POST: Partial updates of nodes PUT: Full updates of nodes, Creation of nodes with given path (idempotent) | e.g. updateOrCreate / override