openapi: 3.2.0 info: description: EB Suite APIs. title: EB Suite Shape Library API version: '1.0' servers: - url: https://api.everbridge.net/rest - url: https://api.everbridge.eu/rest tags: - description: EB Suites - Shape Library name: Shape Library paths: /shapeLibrary/{organizationId}: delete: description: Delete shape file operationId: EBS Delete Shape File parameters: - description: The ID of the organization containing the contacts in: path name: organizationId required: true schema: $ref: '#/components/schemas/organizationId' - description: Region name you want to delete in: query name: regionName required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/RestfulModificationResult' description: OK '400': description: Missing or invalid request input '401': description: Invalid or missing credentials '500': description: Internal Error security: - BasicAuth: [] - API_Authorizer: [] - api_key: [] summary: Delete Shape File tags: - Shape Library x-amazon-apigateway-integration: httpMethod: DELETE passthroughBehavior: when_no_match requestParameters: integration.request.path.organizationId: method.request.path.organizationId responses: default: statusCode: '200' type: http_proxy uri: https://ebs-restapi-prod-us.evbg.io/rest/shapeLibrary/{organizationId} post: description: Upload shape file operationId: EBS Upload Shape File parameters: - description: The ID of the organization containing the contacts in: path name: organizationId required: true schema: $ref: '#/components/schemas/organizationId' - description: The folder where shape file saved, if null will saved under root directory, if folder not exist, will create a new one in: query name: folder required: false schema: default: '' type: string - description: The region name of shape file saved under folder, the region name can't be the same with the existsed one. in: query name: regionName required: true schema: type: string requestBody: content: multipart/form-data: schema: properties: file: description: 'The MultipartFile shape file body, we have the limit here: only support .zip and .kml file, the maximum size of .zip file as 1MB and .kml file as 3MB' format: binary type: string required: - file type: object multipart/related: schema: properties: file: description: 'The MultipartFile shape file body, we have the limit here: only support .zip and .kml file, the maximum size of .zip file as 1MB and .kml file as 3MB' format: binary type: string required: - file type: object responses: '200': content: application/json: schema: $ref: '#/components/schemas/RestfulModificationResult' description: OK '400': description: Missing or invalid request input '401': description: Invalid or missing credentials '500': description: Internal Error security: - BasicAuth: [] - API_Authorizer: [] - api_key: [] summary: Upload Shape File tags: - Shape Library x-amazon-apigateway-integration: httpMethod: POST passthroughBehavior: when_no_match requestParameters: integration.request.path.organizationId: method.request.path.organizationId responses: default: statusCode: '200' type: http_proxy uri: https://ebs-restapi-prod-us.evbg.io/rest/shapeLibrary/{organizationId} components: schemas: RestfulModificationResult: properties: baseUri: type: string id: format: int64 type: integer instanceUri: type: string message: type: string title: RestfulModificationResult type: object organizationId: default: '1536984111644674' description: Everbridge Organization id. Available on manager portal (Settings --> Organization --> Base Information) example: '1536984111644674' maxLength: 16 type: integer securitySchemes: API_Authorizer: description: oAuth Token in: header name: Authorization type: apiKey x-amazon-apigateway-authorizer: authorizerCredentials: arn:aws:iam::214792946631:role/oas-rest-api-gw-prod-us-us-east-1-0-us-east-1-gw authorizerResultTtlInSeconds: 300 authorizerUri: arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:214792946631:function:API_Authorizer_us-east-1_prod:live/invocations identitySource: method.request.header.Authorization,method.request.header.PathCacheKey,method.request.header.MethodCacheKey type: request x-amazon-apigateway-authtype: custom BasicAuth: description: Basic Authentication Token scheme: basic type: http api_key: description: API Key - For System Use in: header name: x-api-key type: apiKey x-amazon-apigateway-binary-media-types: - audio/wav - audio/x-wav - application/octet-stream x-readme: explorer-enabled: true proxy-enabled: true