I used the Model Derivative API to convert the IFC file.
In order to use Derivative Properties JSON, I registered to receive notification of the completion of the conversion via webhook.
https://forge.autodesk.com/en/docs/webhooks/v1/reference/events/extraction.finished/
However, when I requested the API to download the Derivative Properties JSON immediately after receiving the notification of conversion completion, I could not retrieve the data.
By requesting the API after some time, the data will be retrieved, but the webhook cannot be used as a trigger.
Is there a webhook that will notify me when Derivative Properties JSON will be available?
Related
How can I consume Google Analytics data through an endpoint? I need this call to be made by Insomnia for example and to return me a JSON of all data
I searched for documents but without success
I have a requirement to POST json data (stored as json files in ADLS) to REST API endpoint. I have to use Azure Data factory for this. I have gone through Microsoft documentation but unable to get a clear idea on it is implementation.
As per my understanding ADF Data Copy activity doesn't support REST API as output/sink service.
Reaching out if anyone could help me with any documentation or reference material that could guide me to implement this. Thanks!
I have repro’d with sample API and was able to post the JSON data from blob storage to the REST endpoint using data flow activity in azure data factory.
Source dataset:
Connect source to json dataset.
Connect sink to rest endpoint.
I am trying to use autodesk's model derivative api to read metadata of revit files. To do so, it needs to convert revit file to svf format. I'm trying to use https://developer.api.autodesk.com/modelderivative/v2/designdata/job endpoint to do so following official example here https://forge.autodesk.com/en/docs/model-derivative/v2/tutorials/extract-metadata-from-source-file/. I used same authorization header for creating bucket, uploading file. It has data:creat, data:read, data:write.
So I'm not sure why it didn't work for the job endpoint. Is this because I don't have access to model derivative apis?
Please make sure that Model Derivative API is enabled for your Forge app on the My Apps website
It turns out that urn should be objectid which also includes the file name.
I'm using the google client library to access the Google Drive API. I'd like to custom log all the request URI's, the request method as well as the response codes. Is there a built in mechanism to do this with the google client library?
Ideally, I could use the API as I am now and not have to modify each request but maybe add some sort of interceptor to the Drive object itself where I can record this data on every request that goes through this Drive service.
Any ideas?
Not sure that is exactly what you want but you could modify the log level of the API client in logging.properties
com.google.api.client.level = FINEST
I am trying to request a "ticket" from the Box API in order to authenticate a user
. Apparently it will only send back an XML response. I am sure it has something to do with the fact that BOX is still using the 1.0 API for this user authentication process. Is there a way to receive a JSON response for the 1.0 API or use the 2.0 API for this process?
https://www.box.com/api/1.0/rest?action=get_ticket&api_key={api key}
returns XML response.
https://www.box.com/api/2.0/rest?action=get_ticket&api_key={api key}
returns an error in JSON format.
This endpoint currently does not return JSON. We are moving our authentication system to OAuth2, which will return both JSON and XML as the rest of the V2 API does.