user
Create user.
Changed onThis can only be done by the logged in user.
post/user
Request
- Base URL: https://petstore3.swagger.io/api/v3
- URL: https://petstore3.swagger.io/api/v3/user
- Auth: none declared
Request body
Example request
{
"id": 10,
"username": "theUser",
"firstName": "John",
"lastName": "James",
"email": "john@email.com",
"password": "12345",
"phone": "12345",
"userStatus": 1
}Response
successful operation
Example response
{
"id": 10,
"username": "theUser",
"firstName": "John",
"lastName": "James",
"email": "john@email.com",
"password": "12345",
"phone": "12345",
"userStatus": 1
}Changes
- breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/xmlfor the response with the status - info
added the success response with the status
- breaking
- breaking
removed the success response with the status
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/xmlfor the response with the status
- breaking