Files
The files of a project: what your team stored and what the customer uploaded in Mein Bereich. List and download them, and add, change and remove your team's. The files of an offer request, such as the customer's photos, can be read.
List the files of a project
Every file of the project, as the planner's Dateien tab lists them, newest first: what your team stored and what the customer uploaded in Mein Bereich, and with `phase` `REQUEST` the files of the offer request the project was made from, the customer's photos for instance. Each comes with a `downloadUrl` that fetches the file without an API key for one hour. `categories` are the categories a file can have.
Add a file to a project
Stores a file in the project, as an upload in the planner's Dateien tab does. Send a form (`multipart/form-data`) with the file in `file`; the other fields are optional. The planner shows the API key as the uploader; the customer is told your team.
Get a file of a project
Returns one file of the project, with a fresh `downloadUrl`. Requires the `read:documents` and `read:projects` scopes.
Change a file of a project
Shows a file to the customer or hides it, and changes its category or its note; a field you leave out stays as it is. A file that becomes visible is marked as new in Mein Bereich, and the project's history names the API key. No mail is sent.
Remove a file from a project
Removes a file of your team from the project, also from Mein Bereich. This cannot be undone. The customer's own files cannot be removed (`409 customer_file`), and your team's files of the offer request are not found here. Requires the `read:documents` and `write:projects` scopes.
List the files of an offer request
Every file of the offer request, newest first: the photos the customer uploaded and what your team added. Each comes with a `downloadUrl` that fetches the file without an API key for one hour. They stay with the request; a project made from it lists them too, with `phase` `REQUEST`.