Files
GeyserWebsite/docs/api/global/global-api-web-api-skin-controller-get-skin.api.mdx
T
2024-03-12 00:35:02 -07:00

262 lines
9.3 KiB
Plaintext

---
id: global-api-web-api-skin-controller-get-skin
title: "Get the most recently converted skin of a Bedrock player"
description: "Get the most recently converted skin of a Bedrock player"
sidebar_label: "Get the most recently converted skin of a Bedrock player"
hide_title: true
hide_table_of_contents: true
api: eJylVcFu2zgQ/RViTi0g2KmTLFrdvN0gyAJ72XSxh8AIRtJYYk2R7HBkRDD07wtSktdOvGixPUkQOY9v3jw+HaBEYwosdwHyw5CB88Qo2tmHCnK4N65As/b6byoWa68XjzttPzsr7IwhXtQkz2GnLWTgkbElIQ6QPx2golCy9hEJcviVKnblTr10uoIM6AVbbwhyWN1e395crz58+uXq5uPH61vIQMcCj9JABhbbuGsqY/rWaaYKcuGOMghlQy1CfgDpfdwXhLWtYRg2cXPwzgaKfcHq6io+SmeFrMRX9N7oMnW6/BoiycMJ3jn731BQMXmmQFa0rRWq2LWSBkU1GFRBZFXp7J5YqFJoK9V547CiSolTv+Me1V2lE14GnqPKokduDYbm7ZlfGorIjXJbJQ2N5xW9UIDsdbsZ6PAchPb0FufhpFwHheox7lOOFVq1NvTyL1zhnCG0ES/o2qJ0fAEwEjsun7GrokxdoEoVvfpDWyoZt3KJrtBLrH7W1WX8aV3p6sfw9mi6/6Calv4XzeHUcE/jmM6oz+dGuWw9ynUyik0GoiW5/PPsjMfxrkwnueIrlQJDPOqc+bFgpDxOi1ovvRqLlE4dRY2Csm7cFsQxVWrreHSmN9gTR4Fufsr/92SJdRmBW5SE75lEetV2ZaNoT9wrYnYM55q1FALWSYpzz88LF0eWkNS85dJcZl3vpjO/q+eD3aPRVcof9c46iXpqK+9HOKxjaEFKss3r2nuSZJ7WBVFMJVkx/cllHye0VajmlJt0z6AlaVzM0ZokRaQ0kMNyv1rGouUh0hmif4j3c3B2bCCHRsSHfLlErxc19YG4LReO62Q61liYJGRKukBlx1p6yJ82MT63LkXipNEY4WrtdawlDmNXHxZXi1W0hndBWkzzn9L2Jxo+U+4Yy/HOLL1BnbIlNXiYxHiC/SoKMN6LPAX9JoPGBYmLh0OBgf5iMwzx87eOeGpzVmH82egQ3yvIt2gCveFx9D28+3Oy53v16p90kev0EW1/vO05QAY76uff0rAZMmgIK+LEZVxalyV5OSl6c9/i5I7+uL/7AsPwD7ybmtA=
sidebar_class_name: "get api-method"
info_path: api/global/global-api
custom_edit_url: null
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<h1
className={"openapi__heading"}
>
Get the most recently converted skin of a Bedrock player
</h1>
<MethodEndpoint
method={"get"}
path={"/v2/skin/{xuid}"}
>
</MethodEndpoint>
Get the most recently converted skin of a Bedrock player
## Request
<details
style={{"marginBottom":"1rem"}}
className={"openapi-markdown__details"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
>
<h3
className={"openapi-markdown__details-summary-header-params"}
>
Path Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"description":"Bedrock xuid","example":"2535432196048835","in":"path","name":"xuid","required":true,"schema":{"type":"string"}}}
>
</ParamsItem>
</ul>
</div>
</details><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>
Converted skin or an empty object if there is no skin stored for that player
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"hash"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"description":"The hash of the skin bytes","type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"is_steve"}
required={true}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"description":"If the skin is a Steve or an Alex","type":"boolean"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"signature"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"description":"The signature of the skin data used by Minecraft","type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"texture_id"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"description":"The texture id used by Minecraft","type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"value"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"description":"The value of the skin data used by Minecraft","type":"string"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"hash\": \"string\",\n \"is_steve\": true,\n \"signature\": \"string\",\n \"texture_id\": \"string\",\n \"value\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
Invalid xuid (not an int)
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"message"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"description":"The error message","type":"string"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"message\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>