Bug 1075556

Summary: OVIRT35 - [RFE] Expose bookmarks through REST API
Product: [Retired] oVirt Reporter: Vojtech Szocs <vszocs>
Component: ovirt-engine-apiAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Beňas <pbenas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ecohen, gklein, iheim, juan.hernandez, mperina, pbenas, pstehlik, rbalakri, vszocs, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-3.5.0-alpha1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1114554 (view as bug list) Environment:
Last Closed: 2014-10-17 12:33:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1114554    

Description Vojtech Szocs 2014-03-12 11:25:28 UTC
It should be possible to manage bookmarks through REST API.

Bookmarks resource collection would be exposed from within the API entry point:

# GET /ovirt-engine/api
<api>
  ...
  <link href="/ovirt-engine/api/bookmarks" rel="bookmarks"/>
  ...
</api>

# GET /ovirt-engine/api/bookmarks
<bookmarks>
  <bookmark href="/ovirt-engine/api/bookmarks/{id}" id="{id}">
    <name>test</name>
    ...
  </bookmark>
</bookmarks>

Default REST method semantics apply:
  # POST /ovirt-engine/api/bookmarks - add bookmark
  # PUT /ovirt-engine/api/bookmarks/{id} - update bookmark
  # DELETE /ovirt-engine/api/bookmarks/{id} - remove bookmark

Comment 1 Petr Beňas 2014-08-07 15:53:31 UTC
Verified the get, post, put and delete methods in 3.5.0-0.0.master.20140804172041.git23b558e.el6.

Comment 2 Sandro Bonazzola 2014-10-17 12:33:46 UTC
oVirt 3.5 has been released and should include the fix for this issue.