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
60 lines (60 loc) · 1.92 KB
/
authentication.yaml
File metadata and controls
60 lines (60 loc) · 1.92 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
/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/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/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}"