1
0
Fork 0

API: Support for the conversation api call from GNU Social

This commit is contained in:
Michael Vogel 2016-03-23 10:24:01 +01:00 committed by Roland Haeder
parent 2a84e7fac1
commit 0ed299a495
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
2 changed files with 13 additions and 0 deletions

View file

@ -388,6 +388,18 @@ Friendica doesn't allow showing friends of other users.
---
### statusnet/config (*)
---
### statusnet/conversation (*; AUTH)
It shows all direct answers (excluding the original post) to a given id.
#### Parameter
* id: id of the post
* count: Items per page (default: 20)
* page: page number
* since_id: minimal id
* max_id: maximum id
* include_entities: "true" shows entities for pictures and links (Default: false)
---
### statusnet/version (*)

View file

@ -1550,6 +1550,7 @@
return api_apply_template("timeline", $type, $data);
}
api_register_func('api/conversation/show','api_conversation_show', true);
api_register_func('api/statusnet/conversation','api_conversation_show', true);
/**