EntityResource
Entity management operations. An entity is an instance of a type. Entities conform to the definition of the type that they they correspond to. The following resources are applicable:
/entities
POST | Submits an entity definition (instance) corresponding to a given type. | ||||
Response Body |
|
GET | Fetches the list of entities for an entity type. | ||||||||
Parameters |
| ||||||||
Response Body |
|
/entities/{guid}
GET | Fetches the complete definition of the entity identified by the GUID. | ||||||||
Parameters |
| ||||||||
Response Body |
|
PUT | Adds a property to the entity ID. | ||||||||||||||||
Parameters |
| ||||||||||||||||
Response Body |
Response payload as JSON. |
/entities/{guid}/traits
GET | Gets the list of trait names for the entity that is represented by the GUID. | ||||||||
Parameters |
| ||||||||
Response Body |
A list of trait names for the entity that is identified by the GUID. |
POST | Submits a new trait to an existing entity that is represented by the GUID. | ||||||||
Parameters |
| ||||||||
Response Body |
|
/entities/{guid}/traits/{traitName}
DELETE | Deletes a trait from the entity that is represented by the GUID. | ||||||||||||
Parameters |
| ||||||||||||
Response Body |
|