Priority API: Getting image link instead of base64 content

97 Views Asked by At

When I fetch recent/new items with (full data row), the field: EXTFILENAME can cause system halt. In order to fix that, I have to use the "fields" filter! My query will stop being dynamic, Any new field have to be updated in my query. The same problem as in any SQL query, Its simple to SELECT * rather than SELECT field1,field2,field3 Just because I dont want this EXTFILENAME field.

Why Priority stopped sending a link to media files in LOGPART ?! If I want to grab 10 items, it will kill the network if all rows have images!

Can you please give us the power to decide how we get the image ? Base64 or Link ?

/LOGPART?$filter=UDATE gt (time)&$fields=PARTNAME,........,PART /LOGPART?$filter=UDATE gt (time)

1

There are 1 best solutions below

0
neomib On

In version 21.0 files are returned as a data URI. It is documented here: https://prioritysoftware.github.io/restapi/request/#requesting-attachments.