{
  "components": {
    "schemas": {
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "ValidationError": {
        "properties": {
          "ctx": {
            "title": "Context",
            "type": "object"
          },
          "input": {
            "title": "Input"
          },
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "Generated customer-facing subset for the controlled pilot.",
    "title": "OmniCloud downlink-service customer API",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/v1/files/{pvc_name}": {
      "get": {
        "operationId": "list_files_api_v1_files__pvc_name__get",
        "parameters": [
          {
            "in": "path",
            "name": "pvc_name",
            "required": true,
            "schema": {
              "title": "Pvc Name",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "path",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Path"
            }
          },
          {
            "in": "query",
            "name": "depth",
            "required": false,
            "schema": {
              "default": 3,
              "maximum": 32,
              "minimum": 0,
              "title": "Depth",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "breadthFirst",
            "required": false,
            "schema": {
              "default": true,
              "title": "Breadthfirst",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "items": {
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "integer"
                          }
                        ]
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "title": "Response List Files Api V1 Files  Pvc Name  Get",
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "List Files",
        "tags": [
          "files"
        ]
      }
    },
    "/api/v1/files/{pvc_name}/{relative_path}": {
      "get": {
        "operationId": "downlink_files_api_v1_files__pvc_name___relative_path__get",
        "parameters": [
          {
            "in": "path",
            "name": "pvc_name",
            "required": true,
            "schema": {
              "title": "Pvc Name",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "relative_path",
            "required": true,
            "schema": {
              "title": "Relative Path",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Downlink Files",
        "tags": [
          "files"
        ]
      },
      "put": {
        "operationId": "uplink_files_api_v1_files__pvc_name___relative_path__put",
        "parameters": [
          {
            "in": "path",
            "name": "pvc_name",
            "required": true,
            "schema": {
              "title": "Pvc Name",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "relative_path",
            "required": true,
            "schema": {
              "title": "Relative Path",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "summary": "Uplink Files",
        "tags": [
          "files"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.dphi.space/downlink"
    }
  ]
}
