mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
@@ -194,6 +194,9 @@ paths:
|
||||
/network/interfaces:
|
||||
$ref: 'network.yaml#/components/paths/interfaces'
|
||||
|
||||
/teleporter:
|
||||
$ref: 'teleporter.yaml#/components/paths/teleporter'
|
||||
|
||||
components:
|
||||
securitySchemes:
|
||||
sidHeader:
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
openapi: 3.0.2
|
||||
components:
|
||||
paths:
|
||||
teleporter:
|
||||
get:
|
||||
summary: Export Pi-hole settings
|
||||
tags:
|
||||
- "Pi-hole configuration"
|
||||
operationId: "get_teleporter"
|
||||
description: |
|
||||
Request an archived copy of your Pi-hole's current configuration
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/zip:
|
||||
schema:
|
||||
type: string
|
||||
format: binary
|
||||
'401':
|
||||
description: Unauthorized
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: 'common.yaml#/components/errors/unauthorized'
|
||||
Reference in New Issue
Block a user