Fabric
There is a small sample for creating some data and getting it.
Creating
As a sample, it's possible to create three different entities
- EntityId, with POST, creates a new id
- EntityData, with POST
- EntityPrimitives, with POST
When posting an EntityId, the response will be its new id.
When posting an EntityData or EntityPrimitives, use the same id as EntityId.
When posting an EntityData or EntityPrimitives, use the same id as EntityId.
Fetching
To get each type, there's a GET path like
/entityid/123
/entitydata/123
To get the EntityId and all children with the same id, it's possible to use
/entityid/123/entitydata+entityprimitives/
Inga kommentarer:
Skicka en kommentar