248 lines
6.7 KiB
YAML
Executable file
248 lines
6.7 KiB
YAML
Executable file
swagger: '2.0'
|
|
info:
|
|
title: crate-minutes-api
|
|
description: 'Meeting Minutes Generator Web-API'
|
|
version: '1.0.0'
|
|
schemes:
|
|
- 'https'
|
|
paths:
|
|
/miitel:
|
|
post:
|
|
description: 'Miitel Webhook Processer'
|
|
operationId: 'miitel'
|
|
x-google-backend:
|
|
address: https://asia-northeast1-datacom-poc.cloudfunctions.net/generate_minutes/api/miitel
|
|
path_translation: CONSTANT_ADDRESS
|
|
jwt_audience: https://asia-northeast1-datacom-poc.cloudfunctions.net/generate_minutes
|
|
deadline: 600
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
parameters:
|
|
- in: body
|
|
name: body
|
|
description: JSON payload
|
|
required: false
|
|
schema:
|
|
type: object
|
|
additionalProperties: true
|
|
responses:
|
|
200:
|
|
description: 'OK'
|
|
schema:
|
|
type: object
|
|
additionalProperties: true
|
|
401:
|
|
description: 'Auth Error'
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
500:
|
|
description: 'Error'
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
security:
|
|
- APIKeyHeader: []
|
|
|
|
/dailyBatch:
|
|
post:
|
|
description: 'get companies and owners'
|
|
operationId: 'dailyBatch'
|
|
x-google-backend:
|
|
address: https://asia-northeast1-datacom-poc.cloudfunctions.net/generate_minutes/api/dailyBatch
|
|
path_translation: CONSTANT_ADDRESS
|
|
jwt_audience: https://asia-northeast1-datacom-poc.cloudfunctions.net/generate_minutes
|
|
deadline: 600
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
parameters:
|
|
- in: body
|
|
name: body
|
|
description: JSON payload
|
|
required: false
|
|
schema:
|
|
type: object
|
|
additionalProperties: true
|
|
responses:
|
|
200:
|
|
description: 'OK'
|
|
schema:
|
|
type: object
|
|
additionalProperties: true
|
|
401:
|
|
description: 'Auth Error'
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
500:
|
|
description: 'Error'
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
security:
|
|
- APIKeyHeader: []
|
|
|
|
/getLog:
|
|
post:
|
|
description: 'get log'
|
|
operationId: 'getLog'
|
|
x-google-backend:
|
|
address: https://asia-northeast1-datacom-poc.cloudfunctions.net/generate_minutes/api/getLog
|
|
path_translation: CONSTANT_ADDRESS
|
|
jwt_audience: https://asia-northeast1-datacom-poc.cloudfunctions.net/generate_minutes
|
|
deadline: 600
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
parameters:
|
|
- in: body
|
|
name: body
|
|
description: JSON payload
|
|
required: false
|
|
schema:
|
|
type: object
|
|
additionalProperties: true
|
|
responses:
|
|
200:
|
|
description: 'OK'
|
|
schema:
|
|
type: object
|
|
additionalProperties: true
|
|
401:
|
|
description: 'Auth Error'
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
500:
|
|
description: 'Error'
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
security:
|
|
- APIKeyHeader: []
|
|
|
|
/reExecute:
|
|
post:
|
|
description: ''
|
|
operationId: 'reExecute'
|
|
x-google-backend:
|
|
address: https://asia-northeast1-datacom-poc.cloudfunctions.net/generate_minutes/api/reExecute
|
|
path_translation: CONSTANT_ADDRESS
|
|
jwt_audience: https://asia-northeast1-datacom-poc.cloudfunctions.net/generate_minutes
|
|
deadline: 600
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
parameters:
|
|
- in: body
|
|
name: body
|
|
description: JSON payload
|
|
required: false
|
|
schema:
|
|
type: object
|
|
additionalProperties: true
|
|
responses:
|
|
200:
|
|
description: 'OK'
|
|
schema:
|
|
type: object
|
|
additionalProperties: true
|
|
401:
|
|
description: 'Auth Error'
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
500:
|
|
description: 'Error'
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
security:
|
|
- APIKeyHeader: []
|
|
|
|
/test:
|
|
post:
|
|
description: 'test'
|
|
operationId: 'test'
|
|
x-google-backend:
|
|
address: https://asia-northeast1-datacom-poc.cloudfunctions.net/generate_minutes/api/test
|
|
path_translation: CONSTANT_ADDRESS
|
|
jwt_audience: https://asia-northeast1-datacom-poc.cloudfunctions.net/generate_minutes
|
|
deadline: 600
|
|
consumes:
|
|
- application/json
|
|
produces:
|
|
- application/json
|
|
parameters:
|
|
- in: body
|
|
name: body
|
|
description: JSON payload
|
|
required: false
|
|
schema:
|
|
type: object
|
|
additionalProperties: true
|
|
responses:
|
|
200:
|
|
description: 'OK'
|
|
schema:
|
|
type: object
|
|
additionalProperties: true
|
|
401:
|
|
description: 'Auth Error'
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
500:
|
|
description: 'Error'
|
|
schema:
|
|
type: object
|
|
properties:
|
|
error:
|
|
type: string
|
|
security:
|
|
- APIKeyHeader: []
|
|
options:
|
|
summary: 'CORS support'
|
|
operationId: 'test-options'
|
|
responses:
|
|
204:
|
|
description: 'CORS preflight'
|
|
headers:
|
|
Access-Control-Allow-Origin:
|
|
type: string
|
|
default: '*'
|
|
Access-Control-Allow-Methods:
|
|
type: string
|
|
default: 'GET, POST, OPTIONS'
|
|
Access-Control-Allow-Headers:
|
|
type: string
|
|
default: 'Content-Type, x-api-key'
|
|
securityDefinitions:
|
|
APIKeyHeader:
|
|
type: apiKey
|
|
name: x-api-key
|
|
in: header
|