Archived
2

implemented /model/files

This commit is contained in:
VLE2FE
2020-08-28 09:04:05 +02:00
parent 349ff16191
commit c891933d11
4 changed files with 68 additions and 0 deletions

View File

@ -73,6 +73,32 @@
500:
$ref: 'api.yaml#/components/responses/500'
/model/files:
get:
summary: list all stored models
description: 'Auth: basic, levels: dev, admin'
tags:
- /model
responses:
200:
description: model details list
content:
application/json:
schema:
properties:
name:
type: string
example: model_VN_A3WG6_V1
size:
type: number
example: 4177449
401:
$ref: 'api.yaml#/components/responses/401'
403:
$ref: 'api.yaml#/components/responses/403'
500:
$ref: 'api.yaml#/components/responses/500'
/model/file/{name}:
parameters:
- $ref: 'api.yaml#/components/parameters/Name'