E.g. A group should refer to its subgroups with links /groups/2 etc. The same for parent groups and users etc. Create DTO's containing these links. Maybe together with the name of the group/user in an object.
User: {
. Name: " John",
Link : {
. Rel=self,
. Link=/users/123
}
}
E.g. A group should refer to its subgroups with links /groups/2 etc. The same for parent groups and users etc. Create DTO's containing these links. Maybe together with the name of the group/user in an object. User: { . Name: " John", Link : { . Rel=self, . Link=/users/123 } }