Adrian_Santamaria | 2023-03-15 15:53:28 UTC | #1
Hello
I think I've found a bug with the Developer Tools API Explorer. For the method POST /api/v2/flows/executions, the value for each key of the inputData can only be another object of string:string pairs.
So, for example, it is impossible to create a body like:
"flowVersion": "1.0",
"flowId": "example",
"inputData": {
"my_key": "my_value"
}
}
tim.smith | 2023-03-15 15:57:57 UTC | #2
This is a bug with the API resource's definition. Please report the invalid definition via a case with Care. The API is incorrectly defining the property as a map<string,object>, which is not accurate, but API Explorer provides the wizard correctly per the incorrect definition.
Adrian_Santamaria | 2023-03-15 16:09:11 UTC | #3
Thank you, Tim, I've opened the ticket with customer care. Still, it would be nice if the body text editor had something like a "free mode", which didn't enforce the structure of the parameters... To be more similar to the soon-to-be-deprecated old API Explorer that allows any text in the bodies :smiley:
John_Carnell | 2023-03-27 15:33:56 UTC | #4
This post was migrated from the old Developer Forum.
ref: 18925