Download outgoing feed created packages
Manually download created packages
In the left navigation bar, go to Data configuration > Outgoing feeds.
In the Outgoing feeds view, click anywhere in the row corresponding to the outgoing feed whose content you want to view or retrieve.
In the selected outgoing feed detail pane, click the Created packages tab.
In the Created packages tab, under the Download column header, click the name of a package to download it, and to save it to a target location.
Programmatically download created packages
The URLs pointing to specific outgoing feed packages in the Created packages tab expose API endpoints for programmatic content retrieval.
It is not possible to download the packages manually by clicking the URLs in the GUI.
The Created packages tab on an outgoing feed detail pane can include one or more URLs to enable programmatic feed content retrieval by sending API requests to the URL endpoints.
To access the URLs enabling outgoing feed content download:
In the left navigation bar, go to Data configuration > Outgoing feeds.
In the Outgoing feeds view, click anywhere in the row corresponding to the outgoing feed whose content you want to view or retrieve.
The detail pane of the selected object is displayed.
In the selected outgoing feed detail pane, click the Created packages tab.
In the Created packages tab, above the table listing the available packages for download, one or more URLs are displayed, along with short descriptive captions.
These URLs expose endpoints you can make API requests to, to retrieve specific outgoing feed packages.
Programmatically download created packages from HTTP download outgoing feeds
About HTTP download endpoints
To send API requests, pass an authentication Bearer token with each request.
After authenticating, send a GET request to the selected URLs to retrieve applicable outgoing feed content in the responses.
Example: HTTP authentication and content download
# Get the authentication token
/usr/bin/curl
-X POST \
-s \
-H
"Content-Type: application/json"
\
-d
'{ "username" : "${your_eclecticiq_platform_username}", "password" : "${your_eclecticiq_platform_password}" }'
\
--url https:
//
${platform_host}
/api/auth
|
egrep
token |
awk
'{print $2}'
|
tr
-d
'"'
# Export the token as a variable, where <api_token> is the value obtained from the cURL command above
export
token=<api_token>
# Make an API request where:
# - You pass your authentication Bearer token
# - Request a list of all packages from the latest outgoing feed task run
curl -X GET \
-
v
\
-H
"Content-Type: application/json"
\
-H
"Authorization: Bearer ${token}"
\
--url https:
//
${platform_host}
/private/outgoing-feed-download/
${feed_id}
/runs/latest