Create revision
POST
https://api.catenda.com/v2/projects/{project-id}/revisions
project-idstringCatenda project id
acceptstringGenerated from available response content types
Bimsync-Paramsobject<p>Upload parameters, as a JSON object.</p>
<p>Required when uploading with <strong>Content-Type: application/ifc</strong>, <code>application/ifczip</code>, <code>application/ifcxml</code> or <code>application/octet-stream</code>. Non-ASCII characters in <code>filename</code> and <code>comment</code> can be sent as raw UTF-8. Do not percent-encode individual field values: <code>filename</code> is percent-decoded on this route but <code>comment</code> is not. To send a value containing a literal percent sign, pass the parameters in the request body instead by uploading with <strong>Content-Type: multipart/form-data</strong>.</p>
Bimsync-Paramsobject
filestring<binary>The contents of the IFC file.
200OK
curl --request POST \
--url https://api.catenda.com/v2/projects/{project-id}/revisions \
--header 'accept: application/json' \
--header 'content-type: application/ifc' \
--header 'bimsync-params: {"comment":"string","filename":"string","model":"string"}' \
--form 'Bimsync-Params="{\"comment\":\"string\",\"filename\":\"string\",\"model\":\"string\"}"' \
--form 'file=@"/path/to/file"'