{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fluence Billing Storage API",
    "version": "0.10.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-KEY",
      "value": "{{X-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Storage",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "get_users_storages",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/storages",
            "params": [
              {
                "name": "ids",
                "value": "",
                "type": "query"
              },
              {
                "name": "name",
                "value": "my-vm",
                "type": "query",
                "description": "Case-insensitive ILIKE match on name; '%' and '_' in the value act as SQL wildcards (any-sequence / any-single-char), not literal characters."
              },
              {
                "name": "storageType",
                "value": "",
                "type": "query"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Keep only storages whose status is in this set. Repeat the parameter\nusing bracket notation (`status[0]=ready&status[1]=new`); a single\n`status=ready` is also accepted. An empty set applies no filtering."
              },
              {
                "name": "excludeStatus",
                "value": "",
                "type": "query",
                "description": "Drop storages whose status is in this set (`excludeStatus[0]=removed`).\nCombined with `status`, the result is the intersection. An empty set\napplies no filtering."
              },
              {
                "name": "excludeAttached",
                "value": "",
                "type": "query",
                "description": "When `true`, exclude storages attached to any VM (as a boot disk or a\ndata disk), returning only unattached ones. Absent or `false` applies\nno filtering."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "perPage",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "create_users_storage",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/storages",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "get_default_images",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/storages/default_images"
          }
        },
        {
          "info": {
            "name": "delete_users_storages",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/storages/delete",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "get_storage_types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/storages/types",
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "get_users_storage",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/storages/:storage_id",
            "params": [
              {
                "name": "storage_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user storage to fetch"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "update_users_storage",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v1/storages/:storage_id",
            "params": [
              {
                "name": "storage_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user storage to update"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "delete_users_storage",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/storages/:storage_id",
            "params": [
              {
                "name": "storage_id",
                "value": "",
                "type": "path",
                "description": "The ID of the user storage to remove"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        }
      ]
    }
  ],
  "bundled": true
}