Update player/skinPart

Braydon 2024-04-13 09:13:04 -07:00
parent 4fe6459b59
commit f4660bf45c

@ -3,16 +3,22 @@
Get a skin part from a player's skin texture.
View the [Swagger Docs](https://mc.rainnny.club/swagger-ui/index.html#/Player%20Controller/getPartTexture) for more.
## Skin Parts
View a list of [Vanilla](https://git.rainnny.club/Rainnny/RESTfulMC/src/branch/master/src/main/java/me/braydon/mc/model/skin/ISkinPart.java#L82) and [Custom](https://git.rainnny.club/Rainnny/RESTfulMC/src/branch/master/src/main/java/me/braydon/mc/model/skin/ISkinPart.java#L216) skin parts that can be used.
## Path Variables
| Name | Type | Content |
|-------|:------:|-------------------------:|
| part | string | `HEAD` |
| query | string | `Username or UUID` |
| Name | Type | Content |
|-------|:------:|---------------------------:|
| part | string | A [skin part](#skin-parts) |
| query | string | `Username or UUID` |
## Query Parameters
| Name | Type | Default | Content |
|------|:------:|--------:|---------------------------------------------:|
| size | number | `128` | `The size to scale the skin part texture to` |
| Name | Type | Default | Content |
|----------|:-------:|---------:|---------------------------------------------:|
| overlays | boolean | `true` | `Whether to render skin overlays` |
| size | number | `128` | `The size to scale the skin part texture to` |
## Cache
Results are cached for up to `15 minutes`