| Summary: | [REST API] When no domain already exist, the response does not provide any link to create a new domain | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Xavier Coulon <xcoulon> |
| Component: | Pod | Assignee: | Lili Nader <lnader> |
| Status: | CLOSED NOTABUG | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.x | CC: | adietish, mfisher, rmillner |
| 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:19:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
the link for creating a new domain is under top level /rest/api |
Response is as below: <?xml version="1.0" encoding="UTF-8"?> <response> <data/> <status>ok</status> <messages/> <version>1.0</version> <type>domains</type> </response> It should contain a link to create a new domain, such as: <link> <rel>Create new domain</rel> <href>/domains</href> <optional-params/> <method>POST</method> <required-params> <param> <name>namespace</name> <description>Name of the domain</description> <valid-options/> <type>string</type> </param> </required-params> </link>