api_v1.4/hub_api/docs/openapi-specs.yml

36 lines
834 B
YAML
Raw Normal View History

info:
2023-01-23 12:29:41 -05:00
title: CERC API Swagger - OpenAPI 3.0
description: NextGen Cities Institute API
termsOfService: http://swagger.io/terms/
contact:
2023-02-13 08:09:48 -05:00
email: peteryefi@gmail.com
version: 1.4
externalDocs:
description: Find out more about Swagger
url: http://swagger.io
paths:
2023-01-24 05:38:45 -05:00
/v1.4/uptime:
get:
2023-02-13 08:09:48 -05:00
parameters:
[]
2023-01-24 05:38:45 -05:00
tags:
- Uptime
summary: API uptime
operationId: uptime
description: Retrieve current API uptime
responses:
'200':
description: Request sucessful
content:
application/json:
schema:
$ref: '#/components/schemas/Uptime'
components:
schemas:
2023-01-24 05:38:45 -05:00
Uptime:
type: object
properties:
uptime:
type: string
format: hh:mm:ss.ms
2023-02-13 08:09:48 -05:00
example: "00:09:53.600281"