1

I have a custom object class with a File type field, after I query the class, I do not get a public url to the file in the field. How can I get the full public url of a File field type from CustomObject class to be loaded in a ListView? I have an image loading library already by means of Picasso.

kabuto178
  • 3,129
  • 3
  • 40
  • 61

1 Answers1

0

Try this one

https://api.quickblox.com/data/<Class_name>/<record_id>/file?field_name=<field_name>&token=<qb_session_token>

more info here http://quickblox.com/developers/Custom_Objects#Download_file

Rubycon
  • 18,156
  • 10
  • 49
  • 70
  • Let me have a look into that, and thanks for the reply. – kabuto178 Jun 06 '16 at 16:47
  • Using this url and plugin my own values does work, there should be a note of this on the API specific documentation about accessing `File` field objects when queried just for clarity since only the id for the file is returned from the query normally. – kabuto178 Jun 06 '16 at 18:22