Hi,
I'm trying to create a connector with a polling trigger for my REST API, as described here: Polling trigger - Learn | Microsoft Docs. My API returns an array of objects. As described in the doc, I modified my API to return an object. This object has exactly one property, the array. Also as described in the documentation, my array is sorted in descending order, the newest object is at the top.
When I create a new custom connector from blank and import the request and response for my trigger from sample, I end up with this Trigger configuration that can also be seen in the documentation:
With this everything works as desired. Maybe someone can tell me what Trigger Hint is used for. The field is marked as required, but it does not need to be filled out. There is nothing about it in the documentation either.
But if I now import a custom connector from an OpenAPI file, I get the following trigger configuration. It doesn't matter whether I use the OpenAPI file that is generated by my API or download the previous custom connector.
In both cases I have the following schema:
type: object
properties:
array_of_objects:
type: array
items: {type: object}
In the first configuration I can use the array_of_objects and in the second only the final objects.
So can someone tell me why I end up with the second Trigger configuration?
Thanks in advance for your help
At least for the trigger hint field I can help: This is some descriptive text that will be displayed if you test your flow.