restfulobjects/restfulobjects-spec

v1.1.0 : Services representation specified links[rel=.../element-type] ???

Opened this issue · 0 comments

The value returned in the Services representation is an array (list) of links to the domain services. However, a Domain Service is a built in type. There should be a standard domain type defined.

I would suggest the standard domain-type to be named : service

for example:

{
"href": "https://runrightfast-2013.appspot.com/domain-types/service",
"type": "application/json;profile="urn:org.restfulobjects:repr-types/domain-type";charset=utf-8",
"rel": "urn:org.restfulobjects:rels/element-type",
"method": "GET"
}