Bug 806382 - [REST API] Provide a link to create new applications
Summary: [REST API] Provide a link to create new applications
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-23 15:28 UTC by Xavier Coulon
Modified: 2015-05-15 01:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-27 20:18:06 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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