X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fapi.md;h=f58419417b5bb40514cf17eaef341813cbc60b0a;hb=736bcae3e879b867a74755a4a1d24cc72b113ff7;hp=58413b2e64df08ceab343c9fc51535d35a945383;hpb=939364f9a0b40eaa0c87e111074122ff3ff12323;p=friendica.git diff --git a/doc/api.md b/doc/api.md index 58413b2e64..f58419417b 100644 --- a/doc/api.md +++ b/doc/api.md @@ -657,6 +657,7 @@ Friendica adds some addictional fields: - owner: a user object, it's the owner of the item. - private: boolean, true if the item is marked as private - activities: map with activities related to the item. Every activity is a list of user objects. +- comments: comment numbers This properties are prefixed with "friendica_" in JSON responses and namespaced under "http://friendi.ca/schema/api/1/" in XML responses @@ -681,7 +682,8 @@ JSON: 'attendyes': [], 'attendno': [], 'attendmaybe': [] - } + }, + 'friendica_comments': 12 }, // ... ] @@ -707,6 +709,7 @@ XML: + 21 @@ -751,12 +754,12 @@ Friendica doesn't allow showing followers of other users. #### Parameters * q: search query -* friendica_tag: search hashtag (optional; query condition only accept one of the two [ q | friendica_tag ] ) * page: the page number (starting at 1) to return * rpp: the number of statuses to return per page * count: alias for the rpp parameter * since_id: returns statuses with ids greater than the given id * max_id: returns statuses with ids lower or equal to the given id +* exclude_replies: don't show replies (default: false) #### Unsupported parameters