-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathopenapi.yml
99 lines (99 loc) · 3.01 KB
/
openapi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
openapi: 3.0.3
info:
title: Devstream Aurelia OpenAPI Specification
version: 0.3.65
description: API reference for Devstream platform built with Spring Boot.
termsOfService: https://www.devstream.in/terms-and-conditions
license:
name: GPL-2.0-only
url: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html#SEC1
tags:
- name: Auth
description: Endpoints related to user authentication (login, register, refresh
token, forgot password, reset password).
- name: Content
description: Endpoints for managing content (creating, retrieving, updating,
deleting content, analytics).
- name: Health
description: Endpoint for checking the health of the API service.
- name: Platforms
description: Endpoints for interacting with external platforms (syncing data,
retrieving platform information).
- name: User
description: Endpoints for managing user information (profile, settings, analytics).
- name: Pipeline
description: Endpoints to deal with user content publishing pipeline.
- name: Recovery
description: Endpoints related to user account recovery.
servers:
- url: "{protocol}://{environment}.devstream.in/v1"
variables:
protocol:
default: https
enum:
- http
- https
environment:
default: api
enum:
- api
- api.dev
- api.staging
- api.test
paths:
/health:
$ref: ./src/paths/health.yml
/user/profile:
$ref: ./src/paths/user_profile.yml
/user/settings:
$ref: ./src/paths/user_settings.yml
/user/analytics:
$ref: ./src/paths/user_analytics.yml
/user/deactivate:
$ref: ./src/paths/user_deactivate.yml
/user/password:
$ref: ./src/paths/user_password.yml
/auth/login:
$ref: ./src/paths/auth_login.yml
/auth/two-factor-auth:
$ref: ./src/paths/auth_two-factor-auth.yml
/auth/register:
$ref: ./src/paths/auth_register.yml
/auth/revalidate:
$ref: ./src/paths/auth_revalidate.yml
/recovery/initiate:
$ref: ./src/paths/recovery_initiate.yml
/recovery/challenge:
$ref: ./src/paths/recovery_challenge.yml
/recovery/reset:
$ref: ./src/paths/recovery_reset.yml
/content:
$ref: ./src/paths/content.yml
/content/{ContentID}:
$ref: ./src/paths/content_{id}.yml
/content/status/{ContentID}:
$ref: ./src/paths/content_status_{id}.yml
/content/collaboration/{ContentID}:
$ref: ./src/paths/content_collaboration_{id}.yml
/content/analytics/{ContentID}:
$ref: ./src/paths/content_analytics_{id}.yml
/content/upload-finish/{ContentID}:
$ref: ./src/paths/content_upload-finish_{id}.yml
/platforms/{PlatformID}:
$ref: ./src/paths/platforms_{id}.yml
/platforms/sync:
$ref: ./src/paths/platforms_sync.yml
/pipeline:
$ref: ./src/paths/pipeline.yml
/pipeline/name:
$ref: ./src/paths/pipeline_name.yml
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key