diff --git a/lib/views/index.html.ejs b/lib/views/index.html.ejs index 534570c..7b828ea 100644 --- a/lib/views/index.html.ejs +++ b/lib/views/index.html.ejs @@ -66,11 +66,11 @@

Documentation

-

Avatars

+

Avatars

<%= domain %>/avatars/uuid
-

Avatar Parameters

+

Avatar Parameters

@@ -105,7 +105,7 @@
-

Avatar Examples

+

Avatar Examples

<%= domain %>/avatars/853c80ef3c3749fdaa49938b674adae6
@@ -137,12 +137,12 @@
-

3D Renders

+

3D Renders

Crafatar also provides support for 3D renders of Minecraft skins.
Please note that this feature is currently beta!
The head render type returns a render of the skin's head.<%= domain %>/renders/head/uuidThe body render returns a render of the entire skin.<%= domain %>/renders/body/uuid

-

Render Parameters

+

Render Parameters

@@ -177,7 +177,7 @@
-

Render Examples

+

Render Examples

<%= domain %>/renders/body/853c80ef3c3749fdaa49938b674adae6?helm&scale=4
@@ -193,12 +193,12 @@
-

Skins

+

Skins

You can also get the full skin file of a player.
The user's skin is returned, or the default image is served.
You can use the default parameter here as well.<%= domain %>/skins/uuid

-

Skin Parameters

+

Skin Parameters

@@ -221,7 +221,7 @@
-

Skin Examples

+

Skin Examples

<%= domain %>/skins/853c80ef3c3749fdaa49938b674adae6
@@ -237,14 +237,14 @@
-

Capes

+

Capes

A cape endpoint is also available to get the active cape of a user.
The user's cape is returned, otherwise a 404 is returned.

<%= domain %>/capes/uuid

-

Cape Examples

+

Cape Examples

<%= domain %>/capes/61699b2ed3274a019f1e0ea8c3f06bc6
@@ -260,21 +260,21 @@
-

Meta

+

Meta

-

CORS

+

CORS

Crafatar supports CORS so you can make AJAX request from within the browser!

-

HTTP Headers

+

HTTP Headers

Responses come with these HTTP headers, useful for debugging.
Please note that these headers are cached by CloudFlare (CF-Cache-Status: HIT).

-

Response-Time

+

Response-Time

The time, in milliseconds, it took Crafatar to process the request.

-

X-Storage-Type

+

X-Storage-Type

Details about how the requested image was stored on the server

  • none: No external requests. Cached: User has no skin.
  • @@ -289,13 +289,13 @@
-

X-Request-ID

+

X-Request-ID

The internal ID assigned to this request.
If you think something is wrong with your request, please contact us and provide this ID.

-

About Usernames

+

About Usernames

We strongly advise you to use UUIDs instead of usernames! UUIDs never change while usernames do.
Looking up players by username has officially been deprecated by Mojang ever since UUIDs were introduced.
@@ -306,19 +306,19 @@

-

About UUIDs

+

About UUIDs

UUIDs may use the blank or dashed format.
Malformed UUIDs are rejected.

-

About Caching

+

About Caching

Crafatar caches skins for <%= config.caching.local / 60 %> minutes before checking for skin changes.
Images are cached in your browser for <%= config.caching.browser / 60 %> minutes until a new request to Crafatar is made.
When you changed your skin you can try clearing your browser cache to see the change faster.

-

Contact

+

Contact