mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-14 05:40:50 +08:00
docs(NET-953): update docs spec, gitignore (#2880)
This commit is contained in:
parent
8d4200e895
commit
bb50542d8f
2 changed files with 63 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -25,3 +25,4 @@ data/
|
||||||
netmaker.exe
|
netmaker.exe
|
||||||
netmaker.code-workspace
|
netmaker.code-workspace
|
||||||
dist/
|
dist/
|
||||||
|
nmctl
|
||||||
|
|
62
swagger.yml
62
swagger.yml
|
@ -642,6 +642,9 @@ definitions:
|
||||||
$ref: '#/definitions/EgressNetworkRoutes'
|
$ref: '#/definitions/EgressNetworkRoutes'
|
||||||
type: array
|
type: array
|
||||||
x-go-name: EgressRoutes
|
x-go-name: EgressRoutes
|
||||||
|
endpoint_detection:
|
||||||
|
type: boolean
|
||||||
|
x-go-name: EndpointDetection
|
||||||
fw_update:
|
fw_update:
|
||||||
$ref: '#/definitions/FwUpdate'
|
$ref: '#/definitions/FwUpdate'
|
||||||
host:
|
host:
|
||||||
|
@ -1203,6 +1206,8 @@ definitions:
|
||||||
type: string
|
type: string
|
||||||
APIPort:
|
APIPort:
|
||||||
type: string
|
type: string
|
||||||
|
AllowedEmailDomains:
|
||||||
|
type: string
|
||||||
AllowedOrigin:
|
AllowedOrigin:
|
||||||
type: string
|
type: string
|
||||||
AuthProvider:
|
AuthProvider:
|
||||||
|
@ -1324,6 +1329,9 @@ definitions:
|
||||||
type: integer
|
type: integer
|
||||||
Version:
|
Version:
|
||||||
type: string
|
type: string
|
||||||
|
endpoint_detection:
|
||||||
|
type: boolean
|
||||||
|
x-go-name: EndpointDetection
|
||||||
type: object
|
type: object
|
||||||
x-go-package: github.com/gravitl/netmaker/config
|
x-go-package: github.com/gravitl/netmaker/config
|
||||||
Signal:
|
Signal:
|
||||||
|
@ -1584,6 +1592,17 @@ paths:
|
||||||
summary: Push DNS entries to nameserver.
|
summary: Push DNS entries to nameserver.
|
||||||
tags:
|
tags:
|
||||||
- dns
|
- dns
|
||||||
|
/api/emqx/hosts:
|
||||||
|
delete:
|
||||||
|
operationId: delEmqxHosts
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
$ref: '#/responses/apiHostResponse'
|
||||||
|
schemes:
|
||||||
|
- https
|
||||||
|
summary: Lists all hosts.
|
||||||
|
tags:
|
||||||
|
- hosts
|
||||||
/api/extclients:
|
/api/extclients:
|
||||||
get:
|
get:
|
||||||
operationId: getAllExtClients
|
operationId: getAllExtClients
|
||||||
|
@ -2654,6 +2673,49 @@ paths:
|
||||||
summary: Transfers superadmin role to an admin user.
|
summary: Transfers superadmin role to an admin user.
|
||||||
tags:
|
tags:
|
||||||
- user
|
- user
|
||||||
|
/api/users_pending:
|
||||||
|
get:
|
||||||
|
operationId: getPendingUsers
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
$ref: '#/responses/userBodyResponse'
|
||||||
|
schemes:
|
||||||
|
- https
|
||||||
|
summary: Get all pending users.
|
||||||
|
tags:
|
||||||
|
- user
|
||||||
|
/api/users_pending/{username}/pending:
|
||||||
|
delete:
|
||||||
|
operationId: deleteAllPendingUsers
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
$ref: '#/responses/userBodyResponse'
|
||||||
|
schemes:
|
||||||
|
- https
|
||||||
|
summary: delete all pending users.
|
||||||
|
tags:
|
||||||
|
- user
|
||||||
|
/api/users_pending/user/{username}:
|
||||||
|
delete:
|
||||||
|
operationId: deletePendingUser
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
$ref: '#/responses/userBodyResponse'
|
||||||
|
schemes:
|
||||||
|
- https
|
||||||
|
summary: delete pending user.
|
||||||
|
tags:
|
||||||
|
- user
|
||||||
|
post:
|
||||||
|
operationId: approvePendingUser
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
$ref: '#/responses/userBodyResponse'
|
||||||
|
schemes:
|
||||||
|
- https
|
||||||
|
summary: approve pending user.
|
||||||
|
tags:
|
||||||
|
- user
|
||||||
/api/v1/enrollment-keys:
|
/api/v1/enrollment-keys:
|
||||||
get:
|
get:
|
||||||
operationId: getEnrollmentKeys
|
operationId: getEnrollmentKeys
|
||||||
|
|
Loading…
Reference in a new issue