Discussions
Add Photo - URI options
Hi, I'm looking for some help with upload about 64,000 images from a custom-built FileMaker Pro database app into my customer's CompanyCam account. It seems that there's no way to simply give an implementation engineer a folder full of images and some paths/job names, to get this historical data uploaded. (If I'm wrong, then please advise.)
Looking at the data API, I see how it might be possible to create the Jobs and then send the photos to them. The specific question, then, becomes about the 'shape' of the URI parameter in the PHOTO API call.
What sort of URI do you actually support. I know the 'default' would likely be http/https, but that's somewhat more complicated for me as the images aren't really available via that schema. I'd love it if you supported data: [base64 encoded binary file], but a previous article [https://docs.companycam.com/discuss/61d967df65619d007b471999] from 2022 seems to indicate that's not possible.
What about ftp://user:password@host/path_to_file
I tried that in the api playground, but got a 422
{
"errors": [
"Pending uri is invalid"
]
}
response.
Any thoughts on what we can do for these folks?