Browse Source

add openapi specs

pull/1/head
Nicolas Massé 7 years ago
parent
commit
6139259af3
  1. 31
      backup/openapi-spec-v1.0.yaml
  2. 39
      backup/openapi-spec-v1.1.yaml
  3. 42
      backup/openapi-spec-v2.0.yaml
  4. 31
      openapi-spec.yaml

31
backup/openapi-spec-v1.0.yaml

@ -0,0 +1,31 @@
---
swagger: 2.0
info:
title: RHTE API
description: An API that gives information about the Red Hat Tech Exchange.
version: 1.0.0
paths:
/location:
get:
summary: Get Next RHTE Location
description: Get the location of the next RedHat Tech Exchange
operationId: GetLocation
responses:
200:
description: OK
/timeframe:
get:
summary: Get Next RHTE Timeframe
description: Get the timeframe of the next RedHat Tech Exchange
operationId: GetTimeframe
responses:
200:
description: OK
securityDefinitions:
apikey:
type: apiKey
description: Use a 3scale API Key
name: api-key
in: header
security:
- apikey: []

39
backup/openapi-spec-v1.1.yaml

@ -0,0 +1,39 @@
---
swagger: 2.0
info:
title: RHTE API
description: An API that gives information about the Red Hat Tech Exchange.
version: 1.1.0
paths:
/location:
get:
summary: Get Next RHTE Location
description: Get the location of the next RedHat Tech Exchange
operationId: GetLocation
responses:
200:
description: OK
/timeframe:
get:
summary: Get Next RHTE Timeframe
description: Get the timeframe of the next RedHat Tech Exchange
operationId: GetTimeframe
responses:
200:
description: OK
/participants:
get:
summary: Get Next RHTE Participants
description: Get the participants of the next RedHat Tech Exchange
operationId: GetParticipants
responses:
200:
description: OK
securityDefinitions:
apikey:
type: apiKey
description: Use a 3scale API Key
name: api-key
in: header
security:
- apikey: []

42
backup/openapi-spec-v2.0.yaml

@ -0,0 +1,42 @@
---
swagger: 2.0
info:
title: RHTE API
description: An API that gives information about the Red Hat Tech Exchange.
version: 2.0.0
paths:
/location:
get:
summary: Get Next RHTE Location
description: Get the location of the next RedHat Tech Exchange
operationId: GetLocation
responses:
200:
description: OK
/timeframe:
get:
summary: Get Next RHTE Timeframe
description: Get the timeframe of the next RedHat Tech Exchange
operationId: GetTimeframe
responses:
200:
description: OK
/participants:
get:
summary: Get Next RHTE Participants
description: Get the participants of the next RedHat Tech Exchange
operationId: GetParticipants
responses:
200:
description: OK
securityDefinitions:
oidc:
type: oauth2
flow: accessCode
authorizationUrl: https://filled-later.dummy/auth
tokenUrl: https://filled-later.dummy/token
scopes:
openid: Get an OpenID Connect token
security:
- oidc:
- openid

31
openapi-spec.yaml

@ -0,0 +1,31 @@
---
swagger: 2.0
info:
title: RHTE API
description: An API that gives information about the Red Hat Tech Exchange.
version: 1.0.0
paths:
/location:
get:
summary: Get Next RHTE Location
description: Get the location of the next RedHat Tech Exchange
operationId: GetLocation
responses:
200:
description: OK
/timeframe:
get:
summary: Get Next RHTE Timeframe
description: Get the timeframe of the next RedHat Tech Exchange
operationId: GetTimeframe
responses:
200:
description: OK
securityDefinitions:
apikey:
type: apiKey
description: Use a 3scale API Key
name: api-key
in: header
security:
- apikey: []
Loading…
Cancel
Save