Spaces:
Sleeping
Sleeping
Download lib/api-spec/openapi.yaml from Shaurya2020/unstable-nodev2: direct link, hf CLI and curl.
- Browser
- Download file 778 Bytes
-
https://huggingface.co/spaces/Shaurya2020/unstable-nodev2/resolve/main/lib/api-spec/openapi.yaml
- Command line
-
hf download hf://spaces/Shaurya2020/unstable-nodev2/lib/api-spec/openapi.yaml
-
curl -L -o openapi.yaml https://huggingface.co/spaces/Shaurya2020/unstable-nodev2/resolve/main/lib/api-spec/openapi.yaml
778 Bytes
| openapi: 3.1.0 | |
| info: | |
| # Do not change the title, if the title changes, the import paths will be broken | |
| title: Api | |
| version: 0.1.0 | |
| description: API specification | |
| servers: | |
| - url: /api | |
| description: Base API path | |
| tags: | |
| - name: health | |
| description: Health operations | |
| paths: | |
| /healthz: | |
| get: | |
| operationId: healthCheck | |
| tags: [health] | |
| summary: Health check | |
| description: Returns server health status | |
| responses: | |
| "200": | |
| description: Healthy | |
| content: | |
| application/json: | |
| schema: | |
| $ref: "#/components/schemas/HealthStatus" | |
| components: | |
| schemas: | |
| HealthStatus: | |
| type: object | |
| properties: | |
| status: | |
| type: string | |
| required: | |
| - status | |