Name | Description |
---|---|
body * (body) | Pet object that needs to be added to the store {
"id": 0,
"category": {
"id": 0,
"name": "string"
},
"name": "doggie",
"photoUrls": [
"string"
],
"tags": [
{
"id": 0,
"name": "string"
}
],
"status": "available"
} |
Code | Description |
405 | Invalid input |
Name | Description |
---|---|
body * (body) | Pet object that needs to be added to the store {
"id": 0,
"category": {
"id": 0,
"name": "string"
},
"name": "doggie",
"photoUrls": [
"string"
],
"tags": [
{
"id": 0,
"name": "string"
}
],
"status": "available"
} |
Code | Description |
400 | Invalid ID supplied |
404 | Pet not found |
405 | Validation exception |
Name | Description |
---|---|
status * array[string] (query) | Status values that need to be considered for filter Available values : available, pending, sold |
Code | Description |
200 | successful operation [
{
"id": 0,
"category": {
"id": 0,
"name": "string"
},
"name": "doggie",
"photoUrls": [
"string"
],
"tags": [
{
"id": 0,
"name": "string"
}
],
"status": "available"
}
] |
400 | Invalid status value |
Name | Description |
---|---|
petId * integer($int64) (path) | ID of pet to return |
Code | Description |
200 | successful operation {
"id": 0,
"category": {
"id": 0,
"name": "string"
},
"name": "doggie",
"photoUrls": [
"string"
],
"tags": [
{
"id": 0,
"name": "string"
}
],
"status": "available"
} |
400 | Invalid ID supplied |
404 | Pet not found |
Name | Description |
---|---|
petId * integer($int64) (path) | ID of pet that needs to be updated |
name string (formData) | Updated name of the pet |
status string (formData) | Updated status of the pet |
Code | Description |
405 | Invalid input |
Name | Description |
---|---|
api_key string (header) | |
petId * integer($int64) (path) | Pet id to delete |
Code | Description |
400 | Invalid ID supplied |
404 | Pet not found |
Name | Description |
---|---|
petId * integer($int64) (path) | ID of pet to update |
additionalMetadata string (formData) | Additional data to pass to server |
file file (formData) | file to upload |
Code | Description |
200 | successful operation {
"code": 0,
"type": "string",
"message": "string"
} |
store Access to Petstore orders
No parameters
Code | Description |
200 | successful operation {
"additionalProp1": 0,
"additionalProp2": 0,
"additionalProp3": 0
} |
Name | Description |
---|---|
body * (body) | order placed for purchasing the pet {
"id": 0,
"petId": 0,
"quantity": 0,
"shipDate": "2019-03-03T20:43:58.190Z",
"status": "placed",
"complete": false
} |
Code | Description |
200 | successful operation {
"id": 0,
"petId": 0,
"quantity": 0,
"shipDate": "2019-03-03T20:44:42.078Z",
"status": "placed",
"complete": false
} |
400 | Invalid Order |
Name | Description |
---|---|
orderId * integer($int64) (path) | ID of pet that needs to be fetched |
Code | Description |
200 | successful operation {
"id": 0,
"petId": 0,
"quantity": 0,
"shipDate": "2019-03-03T20:46:55.322Z",
"status": "placed",
"complete": false
} |
400 | Invalid ID supplied |
404 | Order not found |
For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors
Name | Description |
---|---|
orderId * integer($int64) (path) | ID of the order that needs to be deleted |
Code | Description |
400 | Invalid ID supplied |
404 | Order not found |
user Operations about user
Name | Description |
---|---|
body * (body) | Created user object {
"id": 0,
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"password": "string",
"phone": "string",
"userStatus": 0
} |
Code | Description |
default | successful operation |
Name | Description |
---|---|
body * (body) | List of user object [
{
"id": 0,
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"password": "string",
"phone": "string",
"userStatus": 0
}
] |
Code | Description |
default | successful operation |
Name | Description |
---|---|
body * (body) | List of user object [
{
"id": 0,
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"password": "string",
"phone": "string",
"userStatus": 0
}
] |
Code | Description |
default | successful operation |
Name | Description |
---|---|
username * string (query) | The user name for login |
password * string (query) | The password for login in clear text |
Code | Description | |||||||||
200 | successful operation string Headers:
| |||||||||
400 | Invalid username/password supplied |
No parameters
Code | Description |
default | successful operation |
Name | Description |
---|---|
username * string (path) | The name that needs to be fetched. Use user1 for testing. |
Code | Description |
200 | successful operation {
"id": 0,
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"password": "string",
"phone": "string",
"userStatus": 0
} |
400 | Invalid username supplied |
404 | User not found |
Name | Description |
---|---|
username * string (path) | name that need to be updated |
body * (body) | Updated user object {
"id": 0,
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"password": "string",
"phone": "string",
"userStatus": 0
} |
Code | Description |
400 | Invalid user supplied |
404 | User not found |
Name | Description |
---|---|
username * string (path) | The name that needs to be deleted |
Code | Description |
400 | Invalid username supplied |
404 | User not found |
Copyright 2013-2021 © IPTel. Все права защищены.