Skip to content

Commit 9eff729

Browse files
committed
Add documentation for v2
1 parent d1f6117 commit 9eff729

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ I have deployed this on my personal domain `ashcon.app` and am opening it up for
1010
### Single Request *(now)*
1111

1212
Username or UUID -> Everything<br>
13-
[https://api.ashcon.app/mojang/v1/user/[username|uuid]](https://api.ashcon.app/mojang/v1/user/ElectroidFilms) `(click for example)`
13+
[https://api.ashcon.app/mojang/v2/user/[username|uuid]](https://api.ashcon.app/mojang/v2/user/Notch) `(click for example)`
1414
```
1515
{
1616
"uuid": <uuid>,
@@ -31,9 +31,13 @@ Username or UUID -> Everything<br>
3131
"cape": {
3232
"url": <url|null>,
3333
"data": <base64|null>
34+
},
35+
"raw": {
36+
"value": <base64>,
37+
"signature": <base64>
3438
}
3539
},
36-
"cached_at": <date>
40+
"created_at": <date|null>
3741
}
3842
```
3943

@@ -81,5 +85,5 @@ UUID -> Profile + Textures<br>
8185
npm i
8286
npm run build
8387
npm run preview -- \
84-
--preview-url https://localhost/mojang/v1/user/Notch
88+
--preview-url https://localhost/mojang/v2/user/Notch
8589
```

0 commit comments

Comments
 (0)