Log in or register to post comments

Uploading trackable via image_url

July 9, 2013 - 7:37am #1

Hello.

Can I request confirmation around how to upload a trackable through the API via image_url - is this feature implemented or not?

We have encountered major difficulty in trying this method of uploading. Regardless of what we have tried when uploading with image_url the API was always returning a 400 with status message "Fail" but were able to upload trackables successfully using the base64 encoded version of the image. Note the exact same authentication process was used for both, the only variance was the way in which we represented the image in the request body.

The source of our confusion arose from a contradiction between this forum comment by AlessandroB and this documentation page where one clearly states that you can use image_url and one clearly states that this is not implemented yet. Although this forum post was made a while ago I am unsure what changes have been made in the interim.

We do have use cases where uploading through image_url would be desirable so if this functionality is not yet implemented do you know if/when this would be or in what release we could expect to see it in?

Thanks in advance for your help,

Ryan

Uploading trackable via image_url

July 10, 2013 - 2:10am #4

Thanks for the suggestion about the documentation; indeed, the "*" foot-note is a bit misleading.

Uploading trackable via image_url

July 9, 2013 - 8:51am #3

Hello, thanks for your response and for confirming this.

Our confusion stemmed directly from the contradictions in documentation and actual results from implementations based upon the documentation. If you look in the table we both have referenced then you will note that there is an asterisk in the "mandatory" column of "image" which explicitly states that "The Target POST body can contain either the image_url or the image – but not both.".

This implies that the image_url is a valid method in which to submit an image - which is not correct. This is very misleading to developers. Can the documentation be updated to reflect the current working status of the API by removing the asterisk and additional information given?

Ryan

Uploading trackable via image_url

July 9, 2013 - 8:22am #2

Hi, for confirmation:

the image_URL feature is still unsupported at the moment (if you check the online documentation, the image_url has been removed from the JSON body table).

I don;t have any news yet on possible changes in future releases.

Log in or register to post comments