mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-30 02:02:36 +00:00
Fixing openapi definition.
This commit is contained in:
@@ -1477,7 +1477,6 @@ paths:
|
|||||||
format: uuid
|
format: uuid
|
||||||
example: When looking for the root entity, the uuid 0000-0000-0000 must be entered.
|
example: When looking for the root entity, the uuid 0000-0000-0000 must be entered.
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/Entity'
|
$ref: '#/components/schemas/Entity'
|
||||||
@@ -1487,7 +1486,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Entities
|
- Entities
|
||||||
@@ -1507,7 +1505,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Entity'
|
$ref: '#/components/schemas/Entity'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/Entity'
|
$ref: '#/components/schemas/Entity'
|
||||||
@@ -1517,7 +1514,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Entities
|
- Entities
|
||||||
@@ -1537,7 +1533,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Entity'
|
$ref: '#/components/schemas/Entity'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/Entity'
|
$ref: '#/components/schemas/Entity'
|
||||||
@@ -1547,7 +1542,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- Entities
|
- Entities
|
||||||
@@ -1561,7 +1555,6 @@ paths:
|
|||||||
format: uuid
|
format: uuid
|
||||||
example: The root entity cannot be deleted.
|
example: The root entity cannot be deleted.
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
204:
|
204:
|
||||||
$ref: '#/components/responses/Success'
|
$ref: '#/components/responses/Success'
|
||||||
@@ -1628,7 +1621,6 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Return a list of contacts
|
description: Return a list of contacts
|
||||||
@@ -1679,7 +1671,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Contacts
|
- Contacts
|
||||||
@@ -1698,7 +1689,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Contact'
|
$ref: '#/components/schemas/Contact'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/Contact'
|
$ref: '#/components/schemas/Contact'
|
||||||
@@ -1708,7 +1698,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Contacts
|
- Contacts
|
||||||
@@ -1727,7 +1716,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Contact'
|
$ref: '#/components/schemas/Contact'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/Contact'
|
$ref: '#/components/schemas/Contact'
|
||||||
@@ -1737,7 +1725,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- Contacts
|
- Contacts
|
||||||
@@ -1755,7 +1742,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
204:
|
204:
|
||||||
$ref: '#/components/responses/Success'
|
$ref: '#/components/responses/Success'
|
||||||
@@ -1810,7 +1796,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Return a list of Locations
|
description: Return a list of Locations
|
||||||
@@ -1845,7 +1830,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Success
|
description: Success
|
||||||
@@ -1861,7 +1845,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Locations
|
- Locations
|
||||||
@@ -1880,7 +1863,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Location'
|
$ref: '#/components/schemas/Location'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/Location'
|
$ref: '#/components/schemas/Location'
|
||||||
@@ -1890,7 +1872,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Locations
|
- Locations
|
||||||
@@ -1909,7 +1890,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Location'
|
$ref: '#/components/schemas/Location'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/Location'
|
$ref: '#/components/schemas/Location'
|
||||||
@@ -1919,7 +1899,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- Locations
|
- Locations
|
||||||
@@ -1937,7 +1916,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
204:
|
204:
|
||||||
$ref: '#/components/responses/Success'
|
$ref: '#/components/responses/Success'
|
||||||
@@ -2140,7 +2118,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Inventory
|
- Inventory
|
||||||
@@ -2185,7 +2162,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- Inventory
|
- Inventory
|
||||||
@@ -2327,7 +2303,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Venues
|
- Venues
|
||||||
@@ -2372,7 +2347,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Venues
|
- Venues
|
||||||
@@ -2419,7 +2393,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- Venues
|
- Venues
|
||||||
@@ -2433,7 +2406,6 @@ paths:
|
|||||||
format: uuid
|
format: uuid
|
||||||
example: The root entity cannot be deleted.
|
example: The root entity cannot be deleted.
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
204:
|
204:
|
||||||
$ref: '#/components/responses/Success'
|
$ref: '#/components/responses/Success'
|
||||||
@@ -2481,7 +2453,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Return a list of Venues
|
description: Return a list of Venues
|
||||||
@@ -2509,7 +2480,6 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Successfull retrieval of a map
|
description: Successfull retrieval of a map
|
||||||
@@ -2523,7 +2493,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Maps
|
- Maps
|
||||||
@@ -2542,7 +2511,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Map'
|
$ref: '#/components/schemas/Map'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/Map'
|
$ref: '#/components/schemas/Map'
|
||||||
@@ -2550,7 +2518,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Maps
|
- Maps
|
||||||
@@ -2569,7 +2536,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Map'
|
$ref: '#/components/schemas/Map'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/ManagementPolicy'
|
$ref: '#/components/schemas/ManagementPolicy'
|
||||||
@@ -2579,7 +2545,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- Maps
|
- Maps
|
||||||
@@ -2657,7 +2622,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Return a list of Venues
|
description: Return a list of Venues
|
||||||
@@ -2692,7 +2656,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Succesful retrieve a management policy
|
description: Succesful retrieve a management policy
|
||||||
@@ -2708,7 +2671,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Management Policies
|
- Management Policies
|
||||||
@@ -2727,7 +2689,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ManagementPolicy'
|
$ref: '#/components/schemas/ManagementPolicy'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/ManagementPolicy'
|
$ref: '#/components/schemas/ManagementPolicy'
|
||||||
@@ -2737,7 +2698,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Management Policies
|
- Management Policies
|
||||||
@@ -2756,7 +2716,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ManagementPolicy'
|
$ref: '#/components/schemas/ManagementPolicy'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/ManagementPolicy'
|
$ref: '#/components/schemas/ManagementPolicy'
|
||||||
@@ -2766,7 +2725,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- Management Policies
|
- Management Policies
|
||||||
@@ -2780,7 +2738,6 @@ paths:
|
|||||||
format: uuid
|
format: uuid
|
||||||
example: The root entity cannot be deleted.
|
example: The root entity cannot be deleted.
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
204:
|
204:
|
||||||
$ref: '#/components/responses/Success'
|
$ref: '#/components/responses/Success'
|
||||||
@@ -2835,7 +2792,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Return a list of elements
|
description: Return a list of elements
|
||||||
@@ -2914,7 +2870,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Management Roles
|
- Management Roles
|
||||||
@@ -2933,7 +2888,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ManagementRole'
|
$ref: '#/components/schemas/ManagementRole'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/ManagementRole'
|
$ref: '#/components/schemas/ManagementRole'
|
||||||
@@ -3015,7 +2969,6 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Return a list of elements
|
description: Return a list of elements
|
||||||
@@ -3051,7 +3004,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Success
|
description: Success
|
||||||
@@ -3067,7 +3019,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Configurations
|
- Configurations
|
||||||
@@ -3092,7 +3043,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/DeviceConfiguration'
|
$ref: '#/components/schemas/DeviceConfiguration'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/DeviceConfiguration'
|
$ref: '#/components/schemas/DeviceConfiguration'
|
||||||
@@ -3102,7 +3052,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Configurations
|
- Configurations
|
||||||
@@ -3122,7 +3071,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/DeviceConfiguration'
|
$ref: '#/components/schemas/DeviceConfiguration'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/DeviceConfiguration'
|
$ref: '#/components/schemas/DeviceConfiguration'
|
||||||
@@ -3132,7 +3080,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- Configurations
|
- Configurations
|
||||||
@@ -3146,7 +3093,6 @@ paths:
|
|||||||
format: uuid
|
format: uuid
|
||||||
example: The root entity cannot be deleted.
|
example: The root entity cannot be deleted.
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
204:
|
204:
|
||||||
$ref: '#/components/responses/Success'
|
$ref: '#/components/responses/Success'
|
||||||
@@ -3242,7 +3188,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- Subscriber Registration
|
- Subscriber Registration
|
||||||
@@ -3280,7 +3225,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- Subscriber Registration
|
- Subscriber Registration
|
||||||
@@ -3312,7 +3256,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Subscriber Registration
|
- Subscriber Registration
|
||||||
@@ -3351,7 +3294,6 @@ paths:
|
|||||||
status:
|
status:
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/SignupEntry'
|
$ref: '#/components/schemas/SignupEntry'
|
||||||
@@ -3998,7 +3940,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/OperatorLocation'
|
$ref: '#/components/schemas/OperatorLocation'
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
$ref: '#/components/schemas/OperatorLocation'
|
$ref: '#/components/schemas/OperatorLocation'
|
||||||
@@ -4008,7 +3949,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- Operator Locations
|
- Operator Locations
|
||||||
@@ -4036,7 +3976,6 @@ paths:
|
|||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
404:
|
404:
|
||||||
$ref: '#/components/responses/NotFound'
|
$ref: '#/components/responses/NotFound'
|
||||||
|
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
- Operator Locations
|
- Operator Locations
|
||||||
@@ -4054,7 +3993,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
204:
|
204:
|
||||||
$ref: '#/components/responses/Success'
|
$ref: '#/components/responses/Success'
|
||||||
@@ -4299,7 +4237,6 @@ paths:
|
|||||||
enum:
|
enum:
|
||||||
- info
|
- info
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Successful command execution
|
description: Successful command execution
|
||||||
|
|||||||
@@ -292,7 +292,7 @@ locationcount() {
|
|||||||
|
|
||||||
addconfig() {
|
addconfig() {
|
||||||
payload="{ \"name\" : \"$1\", \"deviceTypes\" : [\"*\"], \"configuration\" : [ { \"name\" : \"radios\" , \"weight\" : 100, \"configuration\" : { \"radios\": [{ \"band\": \"5G\", \"channel\": 52, \"channel-mode\": \"HE\", \"channel-width\": 80, \"country\": \"CA\" }, { \"band\": \"2G\", \"channel\": 11, \"channel-mode\": \"HE\", \"channel-width\": 20, \"country\": \"CA\" } ] } }] }"
|
payload="{ \"name\" : \"$1\", \"deviceTypes\" : [\"*\"], \"configuration\" : [ { \"name\" : \"radios\" , \"weight\" : 100, \"configuration\" : { \"radios\": [{ \"band\": \"5G\", \"channel\": 52, \"channel-mode\": \"HE\", \"channel-width\": 80, \"country\": \"CA\" }, { \"band\": \"2G\", \"channel\": 11, \"channel-mode\": \"HE\", \"channel-width\": 20, \"country\": \"CA\" } ] } }] }"
|
||||||
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/configurations/1" \
|
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/configuration/1" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
-H "accept: application/json" \
|
-H "accept: application/json" \
|
||||||
@@ -303,7 +303,7 @@ addconfig() {
|
|||||||
|
|
||||||
addconfigtx() {
|
addconfigtx() {
|
||||||
payload="{ \"name\" : \"$1\", \"deviceTypes\" : [\"*\"], \"configuration\" : [ { \"name\" : \"radios TX\" , \"weight\" : 0, \"configuration\" : { \"radios\": [{ \"band\": \"2G\", \"tx-power\": 45 } ] } }] }"
|
payload="{ \"name\" : \"$1\", \"deviceTypes\" : [\"*\"], \"configuration\" : [ { \"name\" : \"radios TX\" , \"weight\" : 0, \"configuration\" : { \"radios\": [{ \"band\": \"2G\", \"tx-power\": 45 } ] } }] }"
|
||||||
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/configurations/1" \
|
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/configuration/1" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
-H "accept: application/json" \
|
-H "accept: application/json" \
|
||||||
@@ -314,7 +314,7 @@ addconfigtx() {
|
|||||||
|
|
||||||
addconfigmetrics() {
|
addconfigmetrics() {
|
||||||
payload="{ \"name\" : \"$1\", \"deviceTypes\" : [\"*\"], \"configuration\" : [ { \"name\" : \"metrics gen\" , \"weight\" : 0, \"configuration\" : { \"metrics\": { \"statistics\": { \"interval\": 120, \"types\": [ \"ssids\", \"lldp\", \"clients\" ] } } } }] }"
|
payload="{ \"name\" : \"$1\", \"deviceTypes\" : [\"*\"], \"configuration\" : [ { \"name\" : \"metrics gen\" , \"weight\" : 0, \"configuration\" : { \"metrics\": { \"statistics\": { \"interval\": 120, \"types\": [ \"ssids\", \"lldp\", \"clients\" ] } } } }] }"
|
||||||
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/configurations/1" \
|
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/configuration/1" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
-H "accept: application/json" \
|
-H "accept: application/json" \
|
||||||
@@ -324,7 +324,7 @@ addconfigmetrics() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
addconfigfile() {
|
addconfigfile() {
|
||||||
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/configurations/1" \
|
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/configuration/1" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
-H "accept: application/json" \
|
-H "accept: application/json" \
|
||||||
@@ -333,7 +333,7 @@ addconfigfile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getconfig() {
|
getconfig() {
|
||||||
curl ${FLAGS} "https://${OWPROV}/api/v1/configurations/$1" \
|
curl ${FLAGS} "https://${OWPROV}/api/v1/configuration/$1" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
-H "accept: application/json" > ${result_file}
|
-H "accept: application/json" > ${result_file}
|
||||||
@@ -341,7 +341,7 @@ getconfig() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
deleteconfig() {
|
deleteconfig() {
|
||||||
curl ${FLAGS} -X DELETE "https://${OWPROV}/api/v1/configurations/$1" \
|
curl ${FLAGS} -X DELETE "https://${OWPROV}/api/v1/configuration/$1" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
-H "accept: application/json" > ${result_file}
|
-H "accept: application/json" > ${result_file}
|
||||||
@@ -359,7 +359,7 @@ setentityconfig() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
listconfigs() {
|
listconfigs() {
|
||||||
curl ${FLAGS} "https://${OWPROV}/api/v1/configurations" \
|
curl ${FLAGS} "https://${OWPROV}/api/v1/configuration" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
-H "accept: application/json" > ${result_file}
|
-H "accept: application/json" > ${result_file}
|
||||||
@@ -393,7 +393,7 @@ adddeviceconfig() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
validateconfig() {
|
validateconfig() {
|
||||||
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/configurations/1?validateOnly=true" \
|
curl ${FLAGS} -X POST "https://${OWPROV}/api/v1/configuration/1?validateOnly=true" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
-H "accept: application/json" \
|
-H "accept: application/json" \
|
||||||
@@ -461,7 +461,7 @@ addresscheck() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
affecteddevices() {
|
affecteddevices() {
|
||||||
curl ${FLAGS} -X GET "https://${OWPROV}/api/v1/configurations/${1}?computedAffected=true" \
|
curl ${FLAGS} -X GET "https://${OWPROV}/api/v1/configuration/${1}?computedAffected=true" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer ${token}" \
|
-H "Authorization: Bearer ${token}" \
|
||||||
-H "accept: application/json" > ${result_file}
|
-H "accept: application/json" > ${result_file}
|
||||||
|
|||||||
Reference in New Issue
Block a user