Attach file to short link
documentedAttach a file and create a short link.
POST /v1/public/short-link/attached-file/createLanding pages & Short linksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.octopush.com/v1/public/short-link/attached-file/create" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "api-login: {{OCTOPUSH_API_LOGIN}}" \
-H "api-key: {{OCTOPUSH_API_KEY}}" \
-d '{"short_link_id": "{{$short_link_id}}", "attached_file": {"name": "{{$file_name}}", "url": "{{$file_url}}", "mime_type": "{{$file_mime_type}}"}, "description": "{{$description}}"}'