Versions Compared

Key

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

...

  1. To Know how to download files coming from a Pull Request, first you need to GET a list of Media belonging to a determined Container:

    Code Block
    languagejson
    curl -i --request GET "https://sandboxapiapi.botdoc.io/v1/module_container_pushpull/media/?request={container_id}&pushpull__type=pull" \
    --header "Authorization: JWT <Authorization Token>" \

  2. Based on the list in item 1, you need to GET the Media using this cURL:

    Code Block
    languagejson
    curl -i --request GET "https://sandboxapiapi.botdoc.io/v1/module_container_pushpull/media/{media_id}/download/" \
    --header "Authorization: JWT <Authorization Token>" \
    --output myfile.jpg

...