トピック削除
| パラメータ | 値 | 説明 |
|---|---|---|
| id *必須 | integer | トピックIDを指定します。 |
| フィールド名 | 説明 |
|---|---|
| id | トピックID |
| community_id | コミュニティID |
| community_name | コミュニティの名前 |
| member | トピック所有者メンバーの情報(詳しくは レスポンスの共通仕様 を参照) |
| name | トピックのタイトル |
| body | トピックの本文 |
| created_at | トピックの作成時間 |
| images | トピックに添付された画像のリスト |
| editable | トピックが編集可能かどうかのフラグ |
$ curl -XPOST -d 'apiKey=cdc4042edf74db746f5bf550039bf50979da2566aa514fc0aac8f57c56398be5&id=1' http://example.com/api.php/event/delete.json
{
"status":"success",
"data":{
"id":"2",
"community_id":"1",
"community_name":"all",
"name":"cccccccccccc",
"member":{
"id":"1",
"profile_image":"http:\/\/example.com\/web\/images\/no_image.gif",
"screen_name":"OpenPNE\u541b",
"name":"OpenPNE\u541b",
"profile_url":"\/member\/1",
"friend":false,
"blocking":false,
"self":true,
"friends_count":0,
"self_introduction":null
},
"body":"cccccccccccc",
"created_at":"2012-09-30 09:05:07",
"editable":false,
"images":[]
}
}