Skip to content

Commit

Permalink
Add documentation for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Electroid committed May 11, 2019
1 parent d1f6117 commit 9eff729
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ I have deployed this on my personal domain `ashcon.app` and am opening it up for
### Single Request *(now)*

Username or UUID -> Everything<br>
[https://api.ashcon.app/mojang/v1/user/[username|uuid]](https://api.ashcon.app/mojang/v1/user/ElectroidFilms) `(click for example)`
[https://api.ashcon.app/mojang/v2/user/[username|uuid]](https://api.ashcon.app/mojang/v2/user/Notch) `(click for example)`
```
{
"uuid": <uuid>,
Expand All @@ -31,9 +31,13 @@ Username or UUID -> Everything<br>
"cape": {
"url": <url|null>,
"data": <base64|null>
},
"raw": {
"value": <base64>,
"signature": <base64>
}
},
"cached_at": <date>
"created_at": <date|null>
}
```

Expand Down Expand Up @@ -81,5 +85,5 @@ UUID -> Profile + Textures<br>
npm i
npm run build
npm run preview -- \
--preview-url https://localhost/mojang/v1/user/Notch
--preview-url https://localhost/mojang/v2/user/Notch
```

0 comments on commit 9eff729

Please sign in to comment.