Bug 806382

Summary: [REST API] Provide a link to create new applications
Product: OKD Reporter: Xavier Coulon <xcoulon>
Component: PodAssignee: Lili Nader <lnader>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: adietish, mfisher, mpatel
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-27 20:18:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Xavier Coulon 2012-03-23 15:28:04 UTC
When querying for existing applications, the response should contain a link to create new applications beside the existing applications:

<data>
 <applications>
  <application>...</application>
  <application>...</application>
  <link>
        <rel>Create new application</rel>
      ...
  </link>
 </applications>
</data>
For now, this link is in the /domains/<namespace> response, but having it in the /domains/<namespace>/applications response seems more consistent with the way of exposing operations from a given location

Comment 1 Lili Nader 2012-03-27 20:18:06 UTC
The link to create a new application in under the domain resource.