]> git.mxchange.org Git - friendica.git/blobdiff - doc/api.md
API - /search #6274
[friendica.git] / doc / api.md
index 07813b6a7715c243f91f06cd4dc19e974e88552d..58413b2e64df08ceab343c9fc51535d35a945383 100644 (file)
@@ -379,6 +379,18 @@ Friendica doesn't allow showing the friends of other users.
 
 * media: image data
 
+#### Return values
+
+Object of:
+
+* media_id: a media identifier (integer)
+* media_id_string: a media identifier (string)
+* size: size in byte
+* image.w: image width
+* image.h: image height
+* image.image_type: image mime type
+* image.friendica_preview_url: image preview url
+
 ---
 
 ### oauth/request_token (*)
@@ -739,6 +751,7 @@ 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
@@ -1061,7 +1074,7 @@ possibile scale value are:
 * 1: image with or height at <= 640
 * 2: image with or height at <= 320
 * 3: thumbnail 160x160
-* 4: Profile image at 175x175
+* 4: Profile image at 300x300
 * 5: Profile image at 80x80
 * 6: Profile image at 48x48