You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2018/02/28 12:38:35 UTC
[isis] 04/06: ISIS-1882: updates to docs
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch maint-1.16.2
in repository https://gitbox.apache.org/repos/asf/isis.git
commit b0d3b6e154442ecc0afcbc125cfc4ef9245afd58
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Wed Feb 28 11:17:02 2018 +0000
ISIS-1882: updates to docs
---
.../_rgfis_presentation-layer_ContentNegotiationService.adoc | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/adocs/documentation/src/main/asciidoc/guides/rgfis/_rgfis_presentation-layer_ContentNegotiationService.adoc b/adocs/documentation/src/main/asciidoc/guides/rgfis/_rgfis_presentation-layer_ContentNegotiationService.adoc
index 89b6b43..e3d98de 100644
--- a/adocs/documentation/src/main/asciidoc/guides/rgfis/_rgfis_presentation-layer_ContentNegotiationService.adoc
+++ b/adocs/documentation/src/main/asciidoc/guides/rgfis/_rgfis_presentation-layer_ContentNegotiationService.adoc
@@ -121,7 +121,15 @@ The other two implementations of `ContentNegotiationService` are:
* `ContentNegotiationServiceForRestfulObjectsV1_0` +
+
-which returns representations according to the link:http://restfulobjects.org[Restful Objects] spec
+which returns representations according to the link:http://restfulobjects.org[Restful Objects] spec.
++
+One extension (specific to Apache Isis, not part of the RO spec) is that actions can also be invoked with an HTTP `Accept` header of the form:
++
+`application/json;profile=urn:org.restfulobjects:repr-types/object`
++
+If the action result returns a collection then this will automatically converted to a `DomainObjectList` view model.
+This can be useful for generic viewers.
+
* `ContentNegotiationServiceOrgApacheIsisV1` +
+
--
To stop receiving notification emails like this one, please contact
danhaywood@apache.org.