Update player/skinPart

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

@ -3,15 +3,21 @@
Get a skin part from a player's skin texture. 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 ## Path Variables
| Name | Type | Content | | Name | Type | Content |
|-------|:------:|-------------------------:| |-------|:------:|---------------------------:|
| part | string | `HEAD` | | part | string | A [skin part](#skin-parts) |
| query | string | `Username or UUID` | | query | string | `Username or UUID` |
## Query Parameters ## Query Parameters
| Name | Type | Default | Content | | Name | Type | Default | Content |
|------|:------:|--------:|---------------------------------------------:| |----------|:-------:|---------:|---------------------------------------------:|
| overlays | boolean | `true` | `Whether to render skin overlays` |
| size | number | `128` | `The size to scale the skin part texture to` | | size | number | `128` | `The size to scale the skin part texture to` |
## Cache ## Cache