Headers Authorization: Bearer Example curl -X DELETE -H "Authorization: Bearer " /skinĪuthorization: Bearer Blocked Servers GET Resets the users skin to the default one. There are two parts (order does not matter b/c of boundary):Įmpty string for the default model and "slim" for the slim modelĮxample curl -X PUT -H "Authorization: Bearer " -F model=alex -F /skinĬontent-Type: multipart/form-data boundary= Ĭontent-Disposition: form-data name="model"Ĭontent-Disposition: form-data name="file" filename="alex.png" The payload for this API consists of multipart form data. Model=&url=http%3A%2F%%2FSkinTemplates%2Fsteve.png Model is an empty string for the default model and "slim" for the slim modelĮxample curl -H "Authorization: Bearer " -data-urlencode "model=" -data-urlencode "url=" /skinĬontent-Type: application/x-www-form-urlencoded The payload for this API consists of two url-encoded form fields (conjoined by '&'). Upon error the server will send back a JSON with the error. This will set the skin for the selected profile, but Mojang's servers will fetch the skin from a URL. Likewise "CAPE" will be missing if the account has no cape.Whether the player has the “Alex?” or “Steve?” skin depends on the Java hashCode of their UUID. If no custom skin has been set, "SKIN" will be missing.For square arms (“Steve?” style), "metadata" will be missing. If the player model has slim arms (“Alex?” style).
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |