30 lines
685 B
YAML
30 lines
685 B
YAML
get:
|
|
tags:
|
|
- Domains
|
|
security:
|
|
- ApiKeyAuth: []
|
|
summary: Retrieve server ip
|
|
description: Retrieve server ip
|
|
responses:
|
|
'200':
|
|
description: Server ip
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
ipv4:
|
|
type: string
|
|
description: IPv4 address
|
|
ipv6:
|
|
type: string
|
|
description: IPv6 address
|
|
'400':
|
|
$ref: ../responses/BadRequest.yaml
|
|
'401':
|
|
$ref: ../responses/Unauthorized.yaml
|
|
'402':
|
|
$ref: ../responses/PaymentRequired.yaml
|
|
'500':
|
|
$ref: ../responses/InternalError.yaml
|