mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2026-01-27 10:23:15 +00:00
New router and simplifiedrest handler
This commit is contained in:
@@ -308,6 +308,11 @@ components:
|
||||
- instagram
|
||||
oauthUserInfo:
|
||||
type: string
|
||||
securityPolicy:
|
||||
type: string
|
||||
securityPolicyChange:
|
||||
type: integer
|
||||
format: int64
|
||||
|
||||
UserList:
|
||||
type: object
|
||||
@@ -417,6 +422,29 @@ components:
|
||||
items:
|
||||
$ref: '#/components/schemas/SecurityProfile'
|
||||
|
||||
InternalServiceInfo:
|
||||
type: object
|
||||
properties:
|
||||
privateURI:
|
||||
type: string
|
||||
publicURI:
|
||||
type: string
|
||||
auth:
|
||||
type: string
|
||||
|
||||
|
||||
InternalSystemServices:
|
||||
type: object
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
version:
|
||||
type: integer
|
||||
services:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/InternalServiceInfo'
|
||||
|
||||
#########################################################################################
|
||||
##
|
||||
## End of uCentral system wide values
|
||||
@@ -741,6 +769,24 @@ paths:
|
||||
404:
|
||||
$ref: '#/components/responses/NotFound'
|
||||
|
||||
#########################################################################################
|
||||
## The following calls are restricted to the private system side APIs
|
||||
#########################################################################################
|
||||
/systemServices:
|
||||
get:
|
||||
tags:
|
||||
- Security
|
||||
summary: Retrieve the basic system information. This information is used between services only.
|
||||
operationId: getSystemServices
|
||||
responses:
|
||||
200:
|
||||
$ref: '#/components/schemas/InternalSystemServices'
|
||||
403:
|
||||
$ref: '#/components/responses/Unauthorized'
|
||||
404:
|
||||
$ref: '#/components/responses/NotFound'
|
||||
|
||||
|
||||
#########################################################################################
|
||||
##
|
||||
## These are endpoints that all services in the uCentral stack must provide
|
||||
|
||||
Reference in New Issue
Block a user