Discussions

Ask a Question
ANSWERED

"Add Photo" - What is "uri"?

The "Project > Add Photo" endpoint expects an "uri" field in the body. What is that supposed to be, or where do I get it from? Can I use a "data:..." URI? The API could use some description here and there.
ANSWERED

Returning Total Pages / Total Count

Would it be possible to add the total pages and total record count to API responses like /photos? Or maybe I'm missing something similar? Right now we have to make an extra API request to see if the next page will return any results. Thanks!
ANSWERED

Project List Max Output

Hi, I am calling on the API from Power BI for a dashboard I am building but am having a problem with the Projects List. No matter what I set the 'per_page' query as (i.e. 100000) [while omitting the 'page' query], I get a maximum of 50 projects in the output. Is this something I am not doing properly or a limitation in this API call? Any help would be greatly appreciated! Thanks.
ANSWERED

Photo "Description"

How do we retrieve the photo description via the API?
ANSWERED

Request: API path to retrieve photo comments and tags for multiple items

To whom it may concern: Retrieving comments and tags via the API as it is currently documented requires the end user to issue a separate request to retrieve comments and tags for every individual photo in a given project (cf. List Comments). Just off the top of my head, it seems like it would be reasonable to allow the {photo_id} parameter to accept a comma delimited list. More generally, after using the API for a while to build some integrations, I can say that it'd be especially nice to have some optional denormalization parameters when making requests against the "List Photos" and "Retrieve Photo" endpoints, which would tell the API to include, e.g., comments and tags as an embedded array within each photo object. Picture a query parameter like "&includeComments=1", for example. Thanks for your time.
ANSWERED

How can one access project discussion via the API?

To whom it may concern: There does not appear to be documented means of retrieving project discussion comments via the API. Is there a way of doing so? Thank you.
ANSWERED

Understanding geofence coordinates

I have been mapping Project geofence data to a leaflet map. However, I now realize that the APIs "projects" endpoint only delivers this data for a single project (It appears to be the first project we created). And even with that project, edits to the geofence data are only reflected in the CompanyCam web UI and not the API. And no other projects contain any data in the APIs geofence property. But I do see it in the web UI.
ANSWERED

"Update Photo" API endpoint only udates "internal" property of a photo?

I'm not sure I understand the "Update Photo" API endpoint, https://api.companycam.com/v2/photos/{id}. It accepts an object which would lead me to assume that we can update various properties of a photo. The example for the API only demonstrates the "internal" property being changed, and that's indeed the only property that I am able to update. That would seem just a bit unusual as it accepts an object not just a true/false property. Id really like to add my own properties to the photo object, like "price". Possible?
ANSWERED

Universal Links

Do you support universal links as outlined here: https://developer.apple.com/library/archive/documentation/General/Conceptual/AppSearch/UniversalLinks.html I’d like to be able to set up a button in an Airtable base to link it to my customer in company cam but instead of opening the project in a browser it opens the project right in the app. I run Airtable and CompanyCam on my iPad and this would be handy.
ANSWERED

how to get credentials?

Where can I find my client id?