File: overview.rst

package info (click to toggle)
murano 1%3A6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,644 kB
  • sloc: python: 34,127; sh: 717; pascal: 269; makefile: 83
file content (41 lines) | stat: -rw-r--r-- 1,805 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
General information
===================

* **Introduction**

    The murano service API is a programmatic interface used for interaction with
    murano. Other interaction mechanisms like the murano dashboard or the murano CLI
    should use the API as an underlying protocol for interaction.

* **Allowed HTTPs requests**

  * *POST*   :   To create a resource
  * *GET*    :   Get a resource or list of resources
  * *DELETE* :   To delete resource
  * *PATCH*  :   To update a resource

* **Description Of Usual Server Responses**

  * 200 ``OK`` - the request was successful.
  * 201 ``Created`` - the request was successful and a resource was created.
  * 204 ``No Content`` - the request was successful but there is no representation to return (i.e. the response is empty).
  * 400 ``Bad Request`` - the request could not be understood or required parameters were missing.
  * 401 ``Unauthorized`` - authentication failed or user didn't have permissions for requested operation.
  * 403 ``Forbidden`` - access denied.
  * 404 ``Not Found`` - resource was not found
  * 405 ``Method Not Allowed`` - requested method is not supported for resource.
  * 406 ``Not Acceptable`` - the requested resource is only capable of generating content not acceptable
    according to the Accept headers sent in the request.
  * 409 ``Conflict`` - requested method resulted in a conflict with the current state of the resource.

* **Response of POSTs and PUTs**

    All POST and PUT requests by convention should return the created object
    (in the case of POST, with a generated ID) as if it was requested by
    GET.

* **Authentication**

    All requests include a keystone authentication token header
    (X-Auth-Token). Clients must authenticate with keystone before
    interacting with the murano service.