This is an api for registering minecraft skins with a specified image on their head on mojang servers. This is used by the BungeeTabListPlus plugin to allow the users to use custom images for the heads in the tab list.

Requests

PUT http://skinservice.codecrafter47.dyndns.eu/api/v2/register_face

Register a skin with a given face. A 8x8 px png image must be attached as "file" part of the request.

PUT http://skinservice.codecrafter47.dyndns.eu/api/v2/register_head

Register a skin with a given head. A png image must be attached as "file" part of the request. You can either use a 32x16 or 64x16 px image depending on whether you want a head overlay or not.

PUT http://skinservice.codecrafter47.dyndns.eu/api/v2/register_skin

Register a skin. A 64x64 px png image must be attached as "file" part of the request.

Response

If your request is successful the following response is sent:

{
    "state": "SUCCESS",
    "texturePropertyValue": "<value of a textures profile property associated with this skin>",
    "texturePropertySignature": "<signature for the above property>",
    "skinUrl": "<url of the skin image on mojang servers>"
}

If your request is waiting to be processed the following response is sent. It is the most common. If you get it you should repeat the request in a few seconds until you get the above response.

{
    "state": "QUEUED",
    "timeLeft": "<Estimate time left until the request will be processed in minutes>"
}

If an error occurs you will get the following response:

{
    "state": "ERROR",
    "errorMessage": "<Description of the error>"
}
Type 7 days 24 hours 1 hour 5 minutes
Avrg. queue size 0 0 0 0
Max. queue size 0 0 0 0
Skins registered 0 0 0 0