Skip to content

Clarify recursive container creation on POST, PATCH and PUT #68

@dmitrizagidulin

Description

@dmitrizagidulin

As was mentioned in the semantics of PUT discussion, we need to decide on a consistent policy for recursive container creation for various resource types (Resources and Containers) and via the 3 major creation verbs (PUT, PATCH and POST).

(Also sometimes referred to as mkdir -p semantics)

Current behavior (in Node Solid Server):

  • PATCH - creating a resource: Intermediate containers are automatically created.
  • PATCH - creating a container: Yes. Technically this gets parsed as a PATCH to a container's .meta
  • POST - creating a resource: Does not create intermediate container, throws a 404 Not Found.
  • POST - creating a container: same as above.
  • PUT - creating a resource: Intermediate containers are automatically crated (mkdir -p style).
  • PUT - creating a container: Not currently supported, but hopefully will be

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions