Kubernetes integration
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
openapi: 3.0.3
|
||||
info:
|
||||
description: Stadt MG - Drohne
|
||||
title: Stadt MG - Drohne
|
||||
version: 1.0.0
|
||||
servers:
|
||||
- url: https://drohne.masasana.ai
|
||||
tags:
|
||||
- name: Drohne
|
||||
paths:
|
||||
/detect:
|
||||
post:
|
||||
operationId: detect_post
|
||||
requestBody:
|
||||
content:
|
||||
image/*:
|
||||
schema:
|
||||
format: binary
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
description: ok
|
||||
tags:
|
||||
- Drohne
|
||||
x-openapi-router-controller: openapi_server.controllers.drohne_controller
|
||||
/image/{image_id}:
|
||||
get:
|
||||
operationId: image_image_id_get
|
||||
parameters:
|
||||
- explode: false
|
||||
in: path
|
||||
name: image_id
|
||||
required: true
|
||||
schema:
|
||||
format: uuid
|
||||
type: string
|
||||
style: simple
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
image/*:
|
||||
schema:
|
||||
format: binary
|
||||
type: string
|
||||
description: ok
|
||||
"204":
|
||||
description: The image is still in processing and no content can be provided
|
||||
just yet.
|
||||
"404":
|
||||
description: This id doesn't exist
|
||||
tags:
|
||||
- Drohne
|
||||
x-openapi-router-controller: openapi_server.controllers.drohne_controller
|
||||
components:
|
||||
schemas: {}
|
||||
Reference in New Issue
Block a user