Updating docs to specify 204 code for deletes. #494
This commit is contained in:
parent
a495282bcd
commit
fc7d90433c
4 changed files with 8 additions and 8 deletions
|
@ -58,7 +58,7 @@ _N/A_
|
||||||
The response is in a standard [response envelope](http://theopenphotoproject.org/documentation/api/Envelope).
|
The response is in a standard [response envelope](http://theopenphotoproject.org/documentation/api/Envelope).
|
||||||
|
|
||||||
* _message_, A string describing the result. Don't use this for anything but reading.
|
* _message_, A string describing the result. Don't use this for anything but reading.
|
||||||
* _code_, _200_ on success
|
* _code_, _204_ on success
|
||||||
* _result_, boolean
|
* _result_, boolean
|
||||||
|
|
||||||
<a name="sample"></a>
|
<a name="sample"></a>
|
||||||
|
@ -66,7 +66,7 @@ The response is in a standard [response envelope](http://theopenphotoproject.org
|
||||||
|
|
||||||
{
|
{
|
||||||
"message":"",
|
"message":"",
|
||||||
"code":200,
|
"code":204,
|
||||||
"result": true
|
"result": true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ _None_
|
||||||
The response is in a standard [response envelope](http://theopenphotoproject.org/documentation/api/Envelope).
|
The response is in a standard [response envelope](http://theopenphotoproject.org/documentation/api/Envelope).
|
||||||
|
|
||||||
* _message_, A string describing the result. Don't use this for anything but reading.
|
* _message_, A string describing the result. Don't use this for anything but reading.
|
||||||
* _code_, _200_ on success
|
* _code_, _204_ on success
|
||||||
* _result_, A boolean
|
* _result_, A boolean
|
||||||
|
|
||||||
<a name="sample"></a>
|
<a name="sample"></a>
|
||||||
|
@ -66,7 +66,7 @@ The response is in a standard [response envelope](http://theopenphotoproject.org
|
||||||
|
|
||||||
{
|
{
|
||||||
"message":"",
|
"message":"",
|
||||||
"code":200,
|
"code":204,
|
||||||
"result": true
|
"result": true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ _None_
|
||||||
The response is in a standard [response envelope](http://theopenphotoproject.org/documentation/api/Envelope).
|
The response is in a standard [response envelope](http://theopenphotoproject.org/documentation/api/Envelope).
|
||||||
|
|
||||||
* _message_, A string describing the result. Don't use this for anything but reading.
|
* _message_, A string describing the result. Don't use this for anything but reading.
|
||||||
* _code_, _200_ on success
|
* _code_, _204_ on success
|
||||||
* _result_, Boolean
|
* _result_, Boolean
|
||||||
|
|
||||||
<a name="sample"></a>
|
<a name="sample"></a>
|
||||||
|
@ -66,7 +66,7 @@ The response is in a standard [response envelope](http://theopenphotoproject.org
|
||||||
|
|
||||||
{
|
{
|
||||||
"message":"",
|
"message":"",
|
||||||
"code":200,
|
"code":204,
|
||||||
"result":true
|
"result":true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ _None_
|
||||||
The response is in a standard [response envelope](http://theopenphotoproject.org/documentation/api/Envelope).
|
The response is in a standard [response envelope](http://theopenphotoproject.org/documentation/api/Envelope).
|
||||||
|
|
||||||
* _message_, A string describing the result. Don't use this for anything but reading.
|
* _message_, A string describing the result. Don't use this for anything but reading.
|
||||||
* _code_, _200_ on success
|
* _code_, _204_ on success
|
||||||
* _result_, A boolean
|
* _result_, A boolean
|
||||||
|
|
||||||
<a name="sample"></a>
|
<a name="sample"></a>
|
||||||
|
@ -67,7 +67,7 @@ The response is in a standard [response envelope](http://theopenphotoproject.org
|
||||||
|
|
||||||
{
|
{
|
||||||
"message" : "Webhook deleted successfully",
|
"message" : "Webhook deleted successfully",
|
||||||
"code" : 200,
|
"code" : 204,
|
||||||
"result" : true
|
"result" : true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue