init
This commit is contained in:
@@ -229,6 +229,58 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ProblemDetails'
|
||||
/telemetry/ConsentLevel:
|
||||
get:
|
||||
operationId: GetConsentLevel
|
||||
responses:
|
||||
'200':
|
||||
description: 200 response
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ConsentLevelSettings'
|
||||
default:
|
||||
description: default response
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ProblemDetails'
|
||||
post:
|
||||
operationId: PostConsentLevel
|
||||
parameters: []
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ConsentLevelSettings'
|
||||
required: true
|
||||
responses:
|
||||
'201':
|
||||
description: 201 response
|
||||
'400':
|
||||
description: 400 response
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ProblemDetails'
|
||||
/telemetry/ConsentLevels:
|
||||
get:
|
||||
operationId: ConsentLevels
|
||||
responses:
|
||||
'200':
|
||||
description: 200 response
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
default:
|
||||
description: default response
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ProblemDetails'
|
||||
components:
|
||||
schemas:
|
||||
ConsentLevel:
|
||||
@@ -903,3 +955,10 @@ components:
|
||||
type: string
|
||||
required:
|
||||
- sections
|
||||
ConsentLevelSettings:
|
||||
type: object
|
||||
properties:
|
||||
telemetryLevel:
|
||||
type: string
|
||||
required:
|
||||
- telemetryLevel
|
||||
|
||||
Reference in New Issue
Block a user