Juan Hernandez has uploaded a new change for review.

Change subject: restapi: Document All-Content header for hosts
......................................................................

restapi: Document All-Content header for hosts

The "All-Content" header is used by the hosts collection and by the host
resource, but it isn't documented in the RSDL metadata. As a result it
isn't described in the RSDL and it isn't available in the SDKs or the
CLI. This patch fixes the RSDL metadata.

Change-Id: I880cd2f00a74813defd8366285fefc9c6c1bacf6
Bug-Url: https://bugzilla.redhat.com/1194185
Signed-off-by: Juan Hernandez <[email protected]>
(cherry picked from commit afae793f20adb5cbaf9da8df302251723091ea49)
---
M 
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/46/37946/1

diff --git 
a/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
 
b/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
index 92a7a3f..60b2640 100644
--- 
a/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
+++ 
b/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
@@ -2716,6 +2716,7 @@
       max: {context: matrix, type: 'xs:int', value: 'max results', required: 
false}
     headers:
       Filter: {value: true|false, required: false}
+      All-Content: {value: true|false, required: false}
 - name: /hosts/{host:id}|rel=get
   description: get the details of the specified host in the system
   request:
@@ -2726,6 +2727,7 @@
       force: {context: matrix, type: 'xs:boolean', value: true|false, 
required: false}
     headers:
       Filter: {value: true|false, required: false}
+      All-Content: {value: true|false, required: false}
 - name: /hosts/{host:id}|rel=delete
   description: delete the specified host in the system
   request:


-- 
To view, visit http://gerrit.ovirt.org/37946
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I880cd2f00a74813defd8366285fefc9c6c1bacf6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to