Created
February 4, 2021 18:35
-
-
Save Avantol13/c5ff58ac7679b4dd053ec23c4a634906 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
components: | |
schemas: | |
AggregatedResponses: | |
properties: | |
commonsA: | |
type: object | |
$ref: '#/components/schemas/AggregatedResponse' | |
commonsB: | |
type: object | |
$ref: '#/components/schemas/AggregatedResponse' | |
commonsC: | |
type: object | |
$ref: '#/components/schemas/AggregatedResponse' | |
title: AggregatedResponses | |
type: object | |
AggregatedResponse: | |
properties: | |
method: | |
type: string | |
example: "GET" | |
status: | |
type: integer | |
example: 200 | |
body: | |
type: object | |
example: {"foo": "bar"} | |
title: AggregatedResponse | |
type: object | |
HTTPValidationError: | |
properties: | |
detail: | |
items: | |
$ref: '#/components/schemas/ValidationError' | |
title: Detail | |
type: array | |
title: HTTPValidationError | |
type: object | |
ValidationError: | |
properties: | |
loc: | |
items: | |
type: string | |
title: Location | |
type: array | |
msg: | |
title: Message | |
type: string | |
type: | |
title: Error Type | |
type: string | |
required: | |
- loc | |
- msg | |
- type | |
title: ValidationError | |
type: object | |
securitySchemes: | |
HTTPBasic: | |
scheme: basic | |
type: http | |
HTTPBearer: | |
scheme: bearer | |
type: http | |
info: | |
title: Market - Gen3 Ecosystem API Centralizer | |
version: 0.0.1 | |
openapi: 3.0.2 | |
paths: | |
/_status: | |
get: | |
operationId: get_status__status_get | |
responses: | |
'200': | |
content: | |
application/json: | |
schema: {} | |
description: Successful Response | |
summary: Get Status | |
/centralizer/{path}: | |
get: | |
description: | | |
This endpoint will return aggregated responses from multiple commons (whichever commons the user has linked). | |
operationId: centralizer_get | |
parameters: | |
- description: Path to hit on all data commons relative to root domain. | |
in: path | |
name: path | |
required: true | |
schema: | |
description: Path to hit on all data commons relative to root domain. | |
example: user/user | |
type: string | |
responses: | |
'200': | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/AggregatedResponses' | |
description: Successful Response | |
'400': | |
description: Invalid path provided | |
summary: Get aggregated responses from multiple data commons | |
tags: | |
- Centralizer | |
/version: | |
get: | |
operationId: get_version_version_get | |
responses: | |
'200': | |
content: | |
application/json: | |
schema: {} | |
description: Successful Response | |
summary: Get Version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment