Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Eagle QL REST API - eagleml/v2/eql

  2. Eagle Generic Extract REST API - eagleml/v2/genericextract

  3. Eagle OLAP Report Service REST API  - eagle/report/v2

  4. EagleML Generic Healthcheck - eagleml/health/v1

  5. EagleML REST API Accounting - eagleml/v2/accounting

  6. EagleML REST API Actions - eagleml/v2/actions

  7. EagleML REST API Api-doc - eagleml/v2/api-doc

  8. EagleML REST API Entities - eagleml/v2/entities

  9. EagleML REST API Extract - eagleml/v2/extract

  10. EagleML REST API Issuer - eagleml/v2/issuer

  11. EagleML REST API Reference - eagleml/v2/reference

  12. EagleML REST API Securities - eagleml/v2/securities

  13. EagleML REST API Warehouse - eagleml/v2/warehouse

  14. EagleML REST API IssuerRole - eagleml/v2/issuerRole

  15. EagleML REST API s2pReporting - eagleml/v2/sp2Reporting

  16. Eagle Metadata API - eagleml/v2/metadata

Example Code Snippets

Testing certificates with curl

Code Block
  > curl --cert <certificate[:password]> --key  [URL]
  # example
  > curl -v  -H "Content-Type: application/json" \
             --header "Authorization:Bearer [oauth token" \
             --cert clientcrt.crt --key clientkey.key \
             --request GET https://eaapimgr-dmzlb.eagleaccess.com/[path to api] -o 0.1.json)

Curl Command to get OATH Access Token

Code Block
curl -v
 https://eaapimgr-dmzlb.eagleaccess.com/auth/oauth/v2/token \
    -H "Accept: application/json" \
    -H "Accept-Language: en_US" \
    -u "API_KEY:SHARED_SECRET" \
    -d "grant_type=client_credentials"

Curl Command to Execute Published API

curl -X GET "{API_URL}" -H "accept: application/json" -H "authorization: Bearer {ACCESS_TOKEN_FROM_FIRST_STEP}"

Curl command to Retrieve OpenAPI spec from your Target App Server

 

Code Block
curl --request GET 'https://xxx-eaapimgr-dmzlb.eagleaccess.com/eagleml/v2/api-doc/warehouse' \
--header 'Authorization: Bearer [oauth token] \
--cert yourclientcrt.crt -key yourclient.key