forked from vrchatapi/specification
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauthentication.yaml
More file actions
107 lines (107 loc) · 3.64 KB
/
authentication.yaml
File metadata and controls
107 lines (107 loc) · 3.64 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
/auth:
get:
- lang: cURL
source: >-
curl -X GET "https://api.vrchat.cloud/api/1/auth" \
-b "amplitude_id_a750df50d11f21f712262cbd4c0bab37vrchat.com={string}; auth={authCookie}"
/logout:
put:
- lang: cURL
source: >-
curl -X PUT "https://api.vrchat.cloud/api/1/logout" \
-b "auth={authCookie}"
/auth/user:
get:
- lang: cURL
source: >-
curl -X GET "https://api.vrchat.cloud/api/1/auth/user" \
-H "Authorization: Basic {string}"
/auth/exists:
get:
- lang: cURL
source: >-
curl -X GET "https://api.vrchat.cloud/api/1/auth/exists?email={string}"
/auth/register:
post:
- lang: cURL
source: >-
curl -X POST "https://api.vrchat.cloud/api/1/auth/register" \
-H "Content-Type: application/json" \
--data '{"username": "{userAndDisplayName}", "password": "{password}", "email": "{emailAddress}", "year": "{birthYear}", "month": "{birthMonth}", "day": "{birthDay}", "captchaCode": "{captchaCode}", "subscribe": true, "acceptedTOSVersion": 10}'
/auth/user/resendEmail:
post:
- lang: cURL
source: >-
curl -X POST "https://api.vrchat.cloud/api/1/auth/user/resendEmail"
/auth/confirmEmail:
get:
- lang: cURL
source: >-
curl -X GET "https://api.vrchat.cloud/api/1/auth/confirmEmail?id={userId}&verify_email={token}"
/auth/verifyLoginPlace:
get:
- lang: cURL
source: >-
curl -X GET "https://api.vrchat.cloud/api/1/auth/verifyLoginPlace?userId={userId}&token={token}"
/auth/twofactorauth:
delete:
- lang: cURL
source: >-
curl -X DELETE "https://api.vrchat.cloud/api/1/auth/twofactorauth" \
-b "auth={authCookie}"
/auth/twofactorauth/totp/verify:
post:
- lang: cURL
source: >-
curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/totp/verify" \
-H "Content-Type: application/json" \
-b "auth={authCookie}" \
--data '{"code": "string"}'
/auth/twofactorauth/totp/pending:
post:
- lang: cURL
source: >-
curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/totp/pending" \
-b "auth={authCookie}"
delete:
- lang: cURL
source: >-
curl -X DELETE "https://api.vrchat.cloud/api/1/auth/twofactorauth/totp/pending" \
-b "auth={authCookie}"
/auth/twofactorauth/totp/pending/verify:
post:
- lang: cURL
source: >-
curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/totp/pending/verify" \
-H "Content-Type: application/json" \
-b "auth={authCookie}" \
--data '{"code": "string"}'
/auth/user/twofactorauth/otp:
get:
- lang: cURL
source: >-
curl -X GET "https://api.vrchat.cloud/api/1/auth/user/twofactorauth/otp" \
-H "Content-Type: application/json" \
-b "auth={authCookie}"
/auth/twofactorauth/otp/verify:
post:
- lang: cURL
source: >-
curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/otp/verify" \
-H "Content-Type: application/json" \
-b "auth={authCookie}" \
--data '{"code": "string"}'
/auth/twofactorauth/emailotp/verify:
post:
- lang: cURL
source: >-
curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/emailotp/verify" \
-H "Content-Type: application/json" \
-b "auth={authCookie}" \
--data '{"code": "string"}'
'/user/{userId}/delete':
put:
- lang: cURL
source: >-
curl -X PUT "https://api.vrchat.cloud/api/1/user/{userId}/delete" \
-b "auth={authCookie}"