Test api with callouts and mermaid plugin
1 min
PUT
https://petstore3.swagger.io/api/v3/pet
bodyobjectUpdate an existent pet in the store
idinteger<int64>
namestring
categoryobject
photoUrlsarray
tagsarray
statusstring<available | pending | sold>pet status in the store
200Successful operation
400Invalid ID supplied
404Pet not found
405Validation exception
curl --location --request PUT 'https://petstore3.swagger.io/api/v3/pet' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"id": 0,
"name": "",
"category": {
"id": 0,
"name": ""
},
"photoUrls": [
""
],
"tags": [
{
"id": 0,
"name": ""
}
],
"status": ""
}'looks cool
This is a very long sentence that spans several lines in the YAML but which will be rendered as a string with newlines preserved.
Hints
2asdasdas
asdas asd We would love you to contribute to @octokit/rest, pull requests are very welcome! Please see CONTRIBUTING.md for more information.
We would love you to contribute to @octokit/rest, pull requests are very welcome! Please see CONTRIBUTING.md for more information.
We would love you to contribute to @octokit/rest, pull requests are very welcome! Please see CONTRIBUTING.md for more information.
We would love you to contribute to @octokit/rest, pull requests are very welcome! Please see CONTRIBUTING.md for more information.
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.