Use this API to get and create users
Creates a new user
Name | Type | Description |
---|---|---|
name | string | The name of the user |
id | integer (int32) | REQUIRED. A unique ID for the new user |
Code | Content Type | Description |
---|---|---|
400 | */* | The ID or name was not specified |
201 | */* | The user was created |
curl -is -X POST -H 'accept: */*' -H 'content-type: application/x-www-form-urlencoded' -d 'name=' -d 'id=' 'https://muserver.io/jaxrsdocs/users'
Gets a single user
Name | Type | Description |
---|---|---|
id | path - integer (int32) | REQUIRED. The ID of the user |
Code | Content Type | Description |
---|---|---|
404 | application/json | No user with that ID found |
200 | application/json | Success |
curl -is -X GET -H 'accept: application/json' 'https://muserver.io/jaxrsdocs/users/(id)'