Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1114554

Summary: [RFE] Expose bookmarks through REST API
Product: Red Hat Enterprise Virtualization Manager Reporter: Juan Hernández <juan.hernandez>
Component: ovirt-engine-restapiAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED ERRATA QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: bazulay, ecohen, gklein, iheim, juan.hernandez, mperina, oramraz, pstehlik, rbalakri, Rhev-m-bugs, sherold, vszocs, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-engine-3.5.0_alpha1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1075556 Environment:
Last Closed: 2015-02-11 18:05:11 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: 1075556    
Bug Blocks: 1142923, 1156165    

Description Juan Hernández 2014-06-30 10:54:40 UTC
+++ This bug was initially created as a clone of Bug #1075556 +++

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 Juan Hernández 2014-06-30 10:57:04 UTC
This bug has already been fixed in upstream ovirt-engine-3.5.0_alpha1, and it was already available in the firs 3.5 build delivered to QE.

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

Comment 5 errata-xmlrpc 2015-02-11 18:05:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0158.html