Files
GeyserWebsite/docs/api/api.geysermc.org/global-api-web-api-skin-controller-get-recent-uploads-page.api.mdx
T
2024-03-12 15:38:42 +00:00

286 lines
10 KiB
Plaintext

---
id: global-api-web-api-skin-controller-get-recent-uploads-page
title: "Get a list of the most recently uploaded skins"
description: "Get a list of the most recently uploaded skins"
sidebar_label: "Get a list of the most recently uploaded skins"
hide_title: true
hide_table_of_contents: true
api: eJylVdtu3EYM/RWCTwmgam2jT3ozktRI0QuQpuiDYRiUxJUmHs1MONQmi4X+vaCkXdux3SDoky7D6+HhmQM25H1NzV3G6jAVGBMLqYvhfYsVXvlYk79M7h+uy8vkyr/uXHgTg0r0nqXsWG+FGw56OyYfqc1loo6xwERCAytLxur6gC3nRlyywFjhH+NQs0DN+oU5wDn8BOYG3g1OS3jLWxq9ZtAI51ggf6UhecbqvEBn/om0xwIDDTx/zRmFP49OuMVKZeQCc9PzQFgdUPfJ7LKKCx1O040Z5xRDZusaL87O7NHEoBzUXikl75oZh82nbDUfHsR73MxvLivELQwxKyxg+D00MexYlFvIdy7kEv6UloVbqPcvWRpqYvirW+pqSed8TnnITxN/7HkJVVN2DbiwjXAEwaDLffwCBL/SjuYiIAbQniE75Se5XPt8gsd9gLMqVzxdUO5YcCpQ+auOwrcvRVnPwbUw5gWE313gRmir9wFPA3o4zGtcct5nuClQnRof8MMM4ptjjcbOD7xl4dDwfdxYf+JG5zqXHyRC+/k7KvlbI9AL+NIQxzCPdzYC2pHzVHt+BobpP+symjwtyZxemOqJIMtm3TPpFydZgT0PHBR6ylDbFp3MHnuzNqW1+vP/IvkVBxbXwDbKQGoPSMKqexjGpgfeseyBRaLg4+ENnLPt5823hDsePAv7HAmOJs8R5Ij0uzXnd3F9H3bkXbsITVgE6BWXXQmBO1K34wJabtxAvgCNETxJx6+XZNSZjKENwDr5FhsFAr/KgH5nfljgwNpHk9eOdZZK7bHCze5iYxabmluJzd1mCbA5WMUTFphZdkc9HcVjhb1qytVmQ8mVHe8zy9CUUToscEfijKezrJviZW5GcbrH6vrGZHQbZ2lcYVyEHi6TM1+WvLR2Xp6VF8aeFLMONFNkVd0f7voRaCdRtr3eJE8uWJq5rcOKyDXuLqxtA73AFZWZXpYCC6zSyqw+ZjX7w6GmzH+Lnyb7/XlkWfs9wrFcRi7be4vVlnzmJ6WddgRffVip/Bp+8M56tr2j/IT9PCE/2hcWeMf74z023UwF9kwty1zrcnTZNJz0gdOT3bURn3h19e4jTtO/hw+6VA==
sidebar_class_name: "get api-method"
info_path: api/api.geysermc.org/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 a list of the most recently uploaded skins
</h1>
<MethodEndpoint
method={"get"}
path={"/v2/skin/bedrock/recent/{page}"}
>
</MethodEndpoint>
Get a list of the most recently uploaded skins
## 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":"Number between 1 - page limit. Defaults to 1","example":1,"in":"path","name":"page","required":true,"schema":{"type":"string"}}}
>
</ParamsItem>
</ul>
</div>
</details><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>
The most recently uploaded skins. First element has been uploaded most recently etc.
</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={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
data
</strong><span
className={"openapi-schema__name"}
>
object[]
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<li>
<div
style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}
>
Array [
</div>
</li><SchemaItem
collapsible={false}
name={"id"}
required={true}
schemaName={"integer"}
qualifierMessage={undefined}
schema={{"description":"The converted skin id","type":"integer"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"texture_id"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"description":"The texture id used by Minecraft","type":"string"}}
>
</SchemaItem><li>
<div
style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}
>
]
</div>
</li>
</div>
</details>
</SchemaItem><SchemaItem
collapsible={false}
name={"total_pages"}
required={false}
schemaName={"integer"}
qualifierMessage={undefined}
schema={{"description":"The amount of pages available","type":"integer"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"data\": [\n {\n \"id\": 0,\n \"texture_id\": \"string\"\n }\n ],\n \"total_pages\": 0\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
Invalid page number (e.g. negative, decimal, too large)
</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>