Merge 8c89764694
into f62bb60636
This commit is contained in:
commit
2c0469ed95
1 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ Use this API to delete an action.
|
||||||
|
|
||||||
_Authentication: required_
|
_Authentication: required_
|
||||||
|
|
||||||
POST /action/:id/delete.json
|
POST /photo/:id/delete.json
|
||||||
|
|
||||||
<a name="parameters"></a>
|
<a name="parameters"></a>
|
||||||
### Parameters
|
### Parameters
|
||||||
|
@ -42,13 +42,13 @@ _None_
|
||||||
<a name="example-cli"></a>
|
<a name="example-cli"></a>
|
||||||
#### Command Line (using [openphoto-php][openphoto-php])
|
#### Command Line (using [openphoto-php][openphoto-php])
|
||||||
|
|
||||||
./openphoto -p -X POST -h current.openphoto.me -e /action/a/delete.json
|
./openphoto -p -X POST -h current.openphoto.me -e /photo/a/delete.json
|
||||||
|
|
||||||
<a name="example-php"></a>
|
<a name="example-php"></a>
|
||||||
#### PHP (using [openphoto-php][openphoto-php])
|
#### PHP (using [openphoto-php][openphoto-php])
|
||||||
|
|
||||||
$client = new OpenPhotoOAuth($host, $consumerKey, $consumerSecret, $oauthToken, $oauthTokenSecret);
|
$client = new OpenPhotoOAuth($host, $consumerKey, $consumerSecret, $oauthToken, $oauthTokenSecret);
|
||||||
$response = $client->post("/action/a/delete.json");
|
$response = $client->post("/photo/a/delete.json");
|
||||||
|
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue