forge-api-nodejs-client | Forge Node.js SDK : Provides | SDK library
kandi X-RAY | forge-api-nodejs-client Summary
kandi X-RAY | forge-api-nodejs-client Summary
This Node.js SDK enables you to easily integrate the Forge REST APIs into your application, including OAuth, Data Management, Model Derivative,.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Sets authorization header
- Default error handler .
- Default error handling
forge-api-nodejs-client Key Features
forge-api-nodejs-client Examples and Code Snippets
Community Discussions
Trending Discussions on forge-api-nodejs-client
QUESTION
I'm trying to upload file to BIM360DOCS. Referring this I could successfully upload the first version of file, but I'm facing issues while updating the version. For updating version of file, I created a storage location, uploaded a file to the storage location, But I try to update the version, I'm getting 400 in response.
I'm referring this method.
...ANSWER
Answered 2022-Feb-04 at 13:43I was passing "folderId" in relationships instead of relationship lineage. Tried passing lineage from previous version response worked properly.
QUESTION
I'm trying to upload a file to a user's Firebase storage bucket once it has been processed by an API i'm working with. I'm doing this from the server side.
The issue here is that I need to reference the UID from the backend in order to send it across to firebase.
I've got everything working with the API but when I try to initiate Firebase it throws-back an error about it not being initialised. I have already initialised Firebase in my start.js and referenced Firebase in the file that I'm writing the code in. I guess I could call it via 'admin.firebase' but not sure if that makes sense as I want the users to upload via their uid. Any help would be awesome
Here is the post request initialising the API from the backend. The point i'm trying to initialise the firebase upload is where i call 'console.log(JOB COMPLETE)':
...ANSWER
Answered 2021-Jan-25 at 09:25I was able to call firebase from the backend using the following code:
QUESTION
I am using forge-api getObject() to download the excel from BIM360 hub. I set up express sever in the backend and make the call in the frontend.
I could get the result of the object and it looks like this:
So my question is: How can I convert the result as a download link correctly? I could download the excel, but the excel can not be opened...
My code looks like this:
...ANSWER
Answered 2021-Jan-21 at 15:03I think all you need to modify in your backend code is to return content.body, instead of content See e.g. https://github.com/Autodesk-Forge/forge-derivatives-explorer/blob/master/routes/data.management.js#L296
It might even be better if you generated a pre-signed URL for the file and passed that to the client. In that case, the file would not be downloaded to your server first and then to the client, but directly to the client in a single step. https://forge.autodesk.com/en/docs/data/v2/reference/http/buckets-:bucketKey-objects-:objectName-signed-POST/
QUESTION
I have a node.js
server using autodesk forge by Forge Node.js SDK. For uploading an object I have used uploadObject() method and multer middleware like what has been said here. The code is like this:
ANSWER
Answered 2020-Jun-30 at 08:30Thanks to Xiaodong Liang, I edited my code like below and it worked for me.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install forge-api-nodejs-client
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page