restfulobjects / restfulobjects-spec

The Restful Objects specification defines a set of RESTful resources, and corresponding JSON representations, for accessing and manipulating a domain object model.
http://restfulobjects.org
73 stars 10 forks source link

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

Open runrightfast opened 10 years ago

runrightfast commented 10 years ago

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" }