31 lines
623 B
YAML
31 lines
623 B
YAML
definitions:
|
|
api.BorgmaticInfos:
|
|
properties:
|
|
hostname:
|
|
type: string
|
|
infos:
|
|
type: string
|
|
type: object
|
|
info:
|
|
contact: {}
|
|
paths:
|
|
/api/v1/borgmatic/infos:
|
|
post:
|
|
consumes:
|
|
- application/json
|
|
parameters:
|
|
- description: Object
|
|
in: body
|
|
name: request
|
|
required: true
|
|
schema:
|
|
$ref: '#/definitions/api.BorgmaticInfos'
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
"400":
|
|
description: Bad Request
|
|
summary: Create a borgmatic infos
|
|
swagger: "2.0"
|