Skip to content

Commit

Permalink
debugging security + bearer token.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-i-berry committed Aug 7, 2024
1 parent e954747 commit dc1efc0
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions wis2downloader/static/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ paths:
get:
summary: Returns list of subscribed topics
description: Returns list of subscribed topics
security:
- wis2boxAuth: [ ]
responses:
"200":
description: A JSON object containing the subscribed topics
Expand All @@ -21,6 +23,8 @@ paths:
post:
summary: Subscribe to specified topic
description: Subscribe to specified topic
security:
- wis2boxAuth: [ ]
requestBody:
required: true
content:
Expand Down Expand Up @@ -64,6 +68,8 @@ paths:
delete:
summary: Unsubscribe from specified topic
description: Unsubscribe from specified topic
security:
- wis2boxAuth: [ ]
parameters:
- in: path
name: topic
Expand All @@ -81,6 +87,8 @@ paths:
get:
summary: Get information on specified subscription
description: Get information on specified subscription
security:
- wis2boxAuth: [ ]
parameters:
- in: path
name: topic
Expand Down Expand Up @@ -114,6 +122,8 @@ paths:
get:
summary: Get of list of published metrics
description: Get list of published metrics
security:
- wis2boxAuth: [ ]
responses:
"200":
description: List of published metrics suitable for integration with Prometheus
Expand All @@ -127,6 +137,4 @@ components:
securitySchemes:
wis2boxAuth:
type: http
scheme: bearer
security:
- wis2boxAuth: []
scheme: bearer

0 comments on commit dc1efc0

Please sign in to comment.