When creating a new activity, input and output parameters are not separated as it was need in v2. How does the design automation service distinguish between them? Is it via the verb? I hope not, because sometimes there are poorly designed Rest-APIs or GraphQL endpoints that require a POST request for receiving data.
Asked
Active
Viewed 80 times
1 Answers
1
You are correct!, it is via verb - based on type of verb, Design Automation service takes an action if it requires to download the resource (get
) or upload the resource (put
| post
) etc, V3 also supports other types of verbs like read
, patch
etc.

Madhukar Moogala
- 635
- 1
- 5
- 11
-
Thank you. But for me this seems to be a very unfortunate decision of Autodesk. – JulianRot May 25 '20 at 14:35
-
Hi Julian, is this a theoretical concern or you are actually blocked? If you are blocked then I'd like to help. We could add an optional "direction" field to the parameter to unblock you. – Albert Szilvasy May 25 '20 at 16:23
-
This would be great. In fact it is more a theoretical concern. But actually I do have a GraphQL service that is providing some information I would need in a practical use case. Of course I could kind of proxy that with my "forge app" server, but that's not nice. In general it would be nice if I could define what is input and what output. – JulianRot May 25 '20 at 18:34
-
Yes, I agree. We are looking into providing in the coming months. – Albert Szilvasy May 26 '20 at 20:40