Add missing friendica specific api calls

rabuzarus 2017-02-10 17:14:07 +01:00
parent 5846c25d07
commit 43530811c5

@ -127,16 +127,111 @@ Favorites aren't displayed to other users, so "user_id" and "screen_name". So se
Friendica doesn't allow showing followers of other users.
### friendica/direct_messages_search
Search for direct_messages containing a search string through api.
#### Parameters
* searchstring: String to search for.
### friendica/direct_messages_setseen
Update a direct_message to seen state.
#### Parameters
* id: The ID of the direct message.
### friendica/group_create
Create the specified group with the posted array of contacts.
#### Parameters
* gid: The ID of the group.
* name: The name of the group.
* json: A json formatted array with a key 'users' which contains the cid (Contact ID).
### friendica/group_delete
Delete the specified group of the user.
#### Parameters
* gid: The ID of the group.
* name: The name of the group.
### friendica/group_show
Return all or a specified group of the user with the containing contacts.
#### Parameters
* gid: The ID of the group.
### friendica/group_update
Update the specified group with the posted array of contacts.
#### Parameters
* gid: The ID of the group.
* name: The name of the group.
* json: A json formatted array with a key 'users' which contains the cid (Contact ID).
### friendica/notification
Returns notifications.
### friendica/notification/seen
Set notification as seen and returns associated item (if possible).
#### Parameters
* id: The ID of the notification (POST request with 'id' param as notification id).
### friendica/photo
Returns data of a picture with the given resource.
#### Parameters
* photo_id: Resource id of a photo.
Returns data of a picture with the given resource.
### friendica/photos/list
Returns a list of all photo resources of the logged in user.
### friendica/profile/show
Return data of all the profiles a user has to the client.
#### Parameters
* profile_id: The ID of the profile.
### friendica/remoteauth
Redirect to 'url' after dfrn auth.
#### Parameters
* c_url: url of remote contact to auth to.
* url: string, url to redirect after auth.
### friendica/activity/like
#### Parameters
* id: The ID of the item on which the activity relates.
### friendica/activity/dislike
#### Parameters
* id: The ID of the item on which the activity relates.
### friendica/activity/attendyes
#### Parameters
* id: The ID of the item on which the activity relates.
### friendica/activity/attendno
#### Parameters
* id: The ID of the item on which the activity relates.
### friendica/activity/attendmaybe
#### Parameters
* id: The ID of the item on which the activity relates.
### friendica/activity/unlike
#### Parameters
* id: The ID of the item on which the activity relates.
### friendica/activity/undislike
#### Parameters
* id: The ID of the item on which the activity relates.
### friendica/activity/unattendyes
#### Parameters
* id: The ID of the item on which the activity relates.
### friendica/activity/unattendno
#### Parameters
* id: The ID of the item on which the activity relates.
### friendica/activity/unattendmaybe
#### Parameters
* id: The ID of the item on which the activity relates.
### friends/ids
#### Parameters
* stringify_ids: Should the id numbers be sent as text (true) or number (false)? (default: false)