-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-docs.json
More file actions
118 lines (118 loc) · 2.43 KB
/
api-docs.json
File metadata and controls
118 lines (118 loc) · 2.43 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"openapi": "3.0.0",
"paths": {
"/users/notifications": {
"get": {
"operationId": "UsersController_getNotifications",
"parameters": [
{
"name": "userId",
"required": true,
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": ""
}
},
"tags": ["Users"]
}
},
"/login": {
"post": {
"operationId": "UsersController_login",
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LoginDto"
}
}
}
},
"responses": {
"201": {
"description": ""
}
},
"tags": ["Users"]
}
},
"/login-with-ethereum": {
"post": {
"operationId": "ethereum_login",
"parameters": [],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EthLoginDto"
}
}
}
},
"responses": {
"201": {
"description": ""
}
},
"tags": ["Users"]
}
},
"/projects": {
"get": {
"operationId": "ProjectsController_getAllProjects",
"parameters": [],
"responses": {
"200": {
"description": ""
}
},
"tags": ["Projects"]
}
}
},
"info": {
"title": "Aura verified",
"description": "The Aura verified API description",
"version": "1.0",
"contact": {}
},
"tags": [],
"servers": [],
"components": {
"schemas": {
"LoginDto": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"integration": {
"type": "string"
}
},
"required": ["email", "integration"]
},
"EthLoginDto": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"hashed": {
"type": "string"
}
},
"required": ["message", "hashed"]
}
}
}
}