Thanks for your replies. After some reading of the material you recommended I came up with the following. It's a bit out of context,but hopefully makes some sense ..
The link-relations from IANA was particularly useful.
GET /resources/1
[{
"id": 1,
"name": "resource",
"class": "list", // can be list, item or tree
"depth": 0, // depth of hierarchy in response data, 0 = list
"links": {
"class": "resource domain", // domain changes when we descend into the data model
"rel": [
"sibling 1",
"sibling 2",
"sibling 3"
],
"next": {
"rel": "next resource", // descend into tree
"href": "..."
},
"prev": {
"rel": "prev resource", // ascend
"href": null
}
},
"filters": [], // availability varies according to domain
"faults": []
}]