Emhasize quotes in API doc

master
Nikola Forró 7 years ago
parent 9c4665464d
commit 8822431dfc

@ -77,7 +77,7 @@ POST /quotes
curl --request POST --header 'X-Quotes-API-Key: SECRET_KEY' --data 'id=28&date=2018-01-01&game=IRL&text=Cheese?' 'https://tld.example/api/quotes' curl --request POST --header 'X-Quotes-API-Key: SECRET_KEY' --data 'id=28&date=2018-01-01&game=IRL&text=Cheese?' 'https://tld.example/api/quotes'
``` ```
Note: the quote is replaced if it exists already *Note: the quote is replaced if it exists already*
Parameters: Parameters:
@ -97,7 +97,7 @@ PUT /quotes/:id
curl --request PUT --header 'X-Quotes-API-Key: SECRET_KEY' --data 'date=2018-01-01&game=IRL&text=Cheese?' 'https://tld.example/api/quotes/28' curl --request PUT --header 'X-Quotes-API-Key: SECRET_KEY' --data 'date=2018-01-01&game=IRL&text=Cheese?' 'https://tld.example/api/quotes/28'
``` ```
Note: the quote is created if it doesn't exist yet *Note: the quote is created if it doesn't exist yet*
Parameters: Parameters:

Loading…
Cancel
Save