Logs & Data processing
Logs can always be reached from the rest/restfulintegrator/1.0/logs/application/<id>/latestresponse
Or using the rest/restfulintegrator/1.0/data/application/<id>?path=json.path
Latest response
rest/restfulintegrator/1.0/logs/application/<id>/latestresponse
Gets a raw json representation of the response.
Data path
rest/restfulintegrator/1.0/data/application/<id>?path=json.path
Gets the response as json for all paginated requests as an array, but also provides the ability to concatinate arrays of the responses to a single list of items.
This opens up for other systems like insight to use iHub as data provider to external sources.
The JSON Path
path= must be a valid json path to the array of items.
example if the response after a paginated request looks like this:
[{ "items":[{"i":"a"},{"i":"b"},{"i":"c"}] }, { "items":[{"i":"d"},{"i":"e"},{"i":"f"}] }]
Then providing a rest/restfulintegrator/1.0/data/application/<id>?path=$.items will make this result
[ {"i":"a"},{"i":"b"},{"i":"c"},{"i":"d"},{"i":"e"},{"i":"f"} ]