Bug 1075556 - OVIRT35 - [RFE] Expose bookmarks through REST API
Summary: OVIRT35 - [RFE] Expose bookmarks through REST API
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-api
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.5.0
Assignee: Alexander Wels
QA Contact: Petr Beňas
URL:
Whiteboard: infra
Depends On:
Blocks: 1114554
TreeView+ depends on / blocked
 
Reported: 2014-03-12 11:25 UTC by Vojtech Szocs
Modified: 2016-02-10 19:33 UTC (History)
10 users (show)

Fixed In Version: ovirt-3.5.0-alpha1
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1114554 (view as bug list)
Environment:
Last Closed: 2014-10-17 12:33:46 UTC
oVirt Team: Infra
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26769 0 master MERGED restapi: bookmarks Never

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.


Note You need to log in before you can comment on or make changes to this bug.