Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

v1.1.0 : Inconsistency for profile representation type : services #22

Open
runrightfast opened this issue Dec 28, 2013 · 0 comments
Open

Comments

@runrightfast
Copy link

In 7.2, the JSON representation example uses service as the representation type for the profile:

{
"links" : [ {
"rel": "self",
"href" : "http://~/services",
"method" : "GET",
"type" : "application/json;profile=".../services""
...
}

But services is not listed as one of the supported representation types in section 2.4.1 RepresentationType ("profile" parameter)

In section 2.4.1, there is a Representation type named list, which is defined as a list of references to domain services.

In section 5.2 Representation, there is an example JSON using list for services:

{
"rel": ".../services",
"href": "http://~/services",
"type": "application/json;profile=".../list"",
"method": "GET"
}

Based on the definition of list in section 2.4.1, I would say that services is a better name.

However, I would like to know what is the actual representation type for a a list of references to domain services because I am implementing a RestfulObjects server side framework and I need to know which is the correct name.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant