Commit b35f6233 authored by Elian Kraja's avatar Elian Kraja
Browse files

Update MEC010-2_AppGrant.json

parent 1793bc23
Loading
Loading
Loading
Loading
Loading
+51 −25
Original line number Diff line number Diff line
@@ -22,7 +22,8 @@
  "servers": [
    {
      "url": "https://localhost/granting/v1",
      "variables": {}
      "variables": {
      }
    }
  ],
  "tags": [
@@ -40,7 +41,9 @@
        "summary": "requests a grant for a particular application lifecycle operation",
        "description": "requests a grant for a particular application lifecycle operation",
        "operationId": "grantPOST",
        "parameters": [],
        "parameters": [

        ],
        "requestBody": {
          "content": {
            "application/json": {
@@ -54,7 +57,8 @@
        "responses": {
          "201": {
            "description": "grant was created successfully (synchronous mode)",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -65,12 +69,15 @@
          },
          "202": {
            "description": "the request was accepted for processing",
            "headers": {},
            "content": {}
            "headers": {
            },
            "content": {
            }
          },
          "400": {
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -81,7 +88,8 @@
          },
          "401": {
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -92,7 +100,8 @@
          },
          "403": {
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -103,7 +112,8 @@
          },
          "404": {
            "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -114,7 +124,8 @@
          },
          "406": {
            "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -125,7 +136,8 @@
          },
          "429": {
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -137,7 +149,9 @@
        },
        "deprecated": false
      },
      "parameters": []
      "parameters": [

      ]
    },
    "/grants/{grantId}": {
      "get": {
@@ -162,7 +176,8 @@
        "responses": {
          "200": {
            "description": "A representation of the \"individual grant\" resource",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -173,12 +188,15 @@
          },
          "202": {
            "description": "returned when the process of creating the grant is ongoing, no grant is available yet",
            "headers": {},
            "content": {}
            "headers": {
            },
            "content": {
            }
          },
          "400": {
            "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -189,7 +207,8 @@
          },
          "401": {
            "description": "Unauthorized :  used when the client did not submit credentials.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -200,7 +219,8 @@
          },
          "403": {
            "description": "Forbidden :  operation is not allowed given the current status of the resource.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -211,7 +231,8 @@
          },
          "404": {
            "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -222,7 +243,8 @@
          },
          "406": {
            "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -233,7 +255,8 @@
          },
          "429": {
            "description": "Too Many Requests : used when a rate limiter has triggered.",
            "headers": {},
            "headers": {
            },
            "content": {
              "application/json": {
                "schema": {
@@ -245,7 +268,9 @@
        },
        "deprecated": false
      },
      "parameters": []
      "parameters": [

      ]
    }
  },
  "components": {
@@ -893,7 +918,7 @@
          },
          "vimConnectionId": {
            "type": "string",
            "description": null
            "description": ""
          },
          "zoneId": {
            "type": "string",
@@ -904,6 +929,7 @@
    }
  },
  "security": [
    {}
    {
    }
  ]
}