C.2 Collection
29.5013GPP5G SystemPrinciples and Guidelines for Services DefinitionRelease 18Stage 3TS
The collection archetype can be used to model a resource that serves as a directory of resources. A collection is NF Service Provider-managed so the NF Service Provider decides the URIs of each resource that is created in the collection.
NOTE: Even though a collection resource typically contains child resources, it is allowed that a particular collection resource does not contain any child resource at a particular point in time ("empty collection").
The Create and Read operations are performed on a collection directly.
More specifically:
– A collection child resource is created by sending a POST with the collection URI if accepted by the collection;
– A collection is read by sending a GET with the collection URI;
– The PUT and PATCH methods with the collection URI are not allowed;
– The DELETE method with the collection URI is only allowed if the collection resource has been created dynamically based on a request from the NF Service Consumer.
– The authorized operations on a collection child resource depend on that resource’s archetype.