We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How should I upload the file? If I upload using application/octet-stream as it seems the spec says (see Swagger), I don't have the filename:
application/octet-stream
curl --location 'https://.../documents' \ --header 'Content-Type: application/octet-stream' \ --header 'Authorization: Bearer xxxx' \ --data 'my_file.pdf'
If I upload it using multipart/form-data it doesn't respect the spec, and the field name is not specified anyway.
multipart/form-data
The text was updated successfully, but these errors were encountered:
That one is actually described in the foundation API: https://github.com/BuildingSMART/foundation-API/tree/v1.0?tab=readme-ov-file#19-binary-file-uploads
Sorry, something went wrong.
Wrong URL ( https://github.com/BuildingSMART/foundation-API/tree/v1.0?tab=readme-ov-file#19-binary-file-uploads ) but ok thanks!
Maybe put a link back to Foundation on the BCF API spec?
Ha, yeah, I pasted the wrong url there, sorry😀
The foundation API is referenced at the top of the README, here: https://github.com/buildingSMART/BCF-API?tab=readme-ov-file#11-opencde-foundation-api
No branches or pull requests
How should I upload the file? If I upload using
application/octet-stream
as it seems the spec says (see Swagger), I don't have the filename:If I upload it using
multipart/form-data
it doesn't respect the spec, and the field name is not specified anyway.The text was updated successfully, but these errors were encountered: