/
Standard Modelling of Resource Relationship Types

Standard Modelling of Resource Relationship Types

NOTE: A consequence of this is that collections may be directly created but not edited
NOTE: All subresources can be created along with resources in flat style

Example: Concept : ConceptName

Model: Parent is a resource; Child is a sub-resource of Parent

  • Parent contains an uneditable collection of children

  • Child contains an uneditable reference to parent

  • Creates are POSTs to Parent/<parent uuid>/Child

  • Updates are POSTs to Parent/<parent uuid>/Child/<child uuid>