docs(NET-953): update docs spec, gitignore (#2880)

This commit is contained in:
Aceix 2024-04-09 06:22:00 +00:00 committed by GitHub
parent 8d4200e895
commit bb50542d8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 63 additions and 0 deletions

1
.gitignore vendored
View file

@ -25,3 +25,4 @@ data/
netmaker.exe
netmaker.code-workspace
dist/
nmctl

View file

@ -642,6 +642,9 @@ definitions:
$ref: '#/definitions/EgressNetworkRoutes'
type: array
x-go-name: EgressRoutes
endpoint_detection:
type: boolean
x-go-name: EndpointDetection
fw_update:
$ref: '#/definitions/FwUpdate'
host:
@ -1203,6 +1206,8 @@ definitions:
type: string
APIPort:
type: string
AllowedEmailDomains:
type: string
AllowedOrigin:
type: string
AuthProvider:
@ -1324,6 +1329,9 @@ definitions:
type: integer
Version:
type: string
endpoint_detection:
type: boolean
x-go-name: EndpointDetection
type: object
x-go-package: github.com/gravitl/netmaker/config
Signal:
@ -1584,6 +1592,17 @@ paths:
summary: Push DNS entries to nameserver.
tags:
- dns
/api/emqx/hosts:
delete:
operationId: delEmqxHosts
responses:
"200":
$ref: '#/responses/apiHostResponse'
schemes:
- https
summary: Lists all hosts.
tags:
- hosts
/api/extclients:
get:
operationId: getAllExtClients
@ -2654,6 +2673,49 @@ paths:
summary: Transfers superadmin role to an admin user.
tags:
- 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:
get:
operationId: getEnrollmentKeys