From f4660bf45cc04f45c92e18f75d9c04b71c6e3ba5 Mon Sep 17 00:00:00 2001 From: Braydon Date: Sat, 13 Apr 2024 09:13:04 -0700 Subject: [PATCH] Update player/skinPart --- player%2FskinPart.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/player%2FskinPart.md b/player%2FskinPart.md index b4f703d..7205b42 100644 --- a/player%2FskinPart.md +++ b/player%2FskinPart.md @@ -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`