Skip to content

Commit cafa178

Browse files
committed
Updated README.md with new endpoint
1 parent 55f483f commit cafa178

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ Assuming your server lives at `myserver.com`, and you've configured the middlewa
3636
* `myserver.com/myAvatars/:size/:id`
3737
* returns an avatar for the provided `id` at the specified `size`
3838
* size cannot exceed 400px
39-
* `myserver.com/myAvatars/face/:eyes/:nose/:mouth/:color`
39+
* `myserver.com/myAvatars/face/:eyes/:nose/:mouth/:color/:size?`
4040
* Allows you to generate a custom avatar from the specified parts and color
4141
* e.g. `myserver.com/myAvatars/face/eyes1/nose2/mouth4/DEADBF`
42+
* You can also set the size of your custom avatar
43+
* e.g. `myserver.com/myAvatars/face/eyes1/nose2/mouth4/DEADBF/300`
4244
* `myserver.com/myAvatars/list`
4345
* returns JSON of all valid parts for the custom endpoint above
4446

0 commit comments

Comments
 (0)