V4 API broken! media_links suddenly not working anymore with V4

Today I noticed that my app is not working anymore. The v4 “alpha” version was deleted, and the “current” API docs are not reflecting the current behaviour.

So I switched to V4 “current”… which I assume to be the “official” version. There is the “media_links” feature explicitly shown, but I can not retrieve it.

This suggests that the “current” docs are wrong or outdated, or the API is broken or not migrated correctly.

Please confirm this! There is no official documentation or message that these media_links are available anymore.. How to solve this? Even your OpenAPI specs are explicitly shows the media_links as an option: https://api.frame.io/v4/docs/4.0/openapi.json

 “errors”: [{"title": "Invalid value","source":{"pointer": "/include"},"detail": "Unexpected field: media_links"}]}

Any ideas? how can I retrieve the download_urls as described in the Current API docs??

“media_links”: {“high_quality”: {
    • “download_url”: “https://assets.frame.io/upload/UUID/original.png?response-content-disposition=attachment%3B+filename%3D%22foo.png&Expires=1729857600&Signature=UUID/&Key-Pair-Id=KKI497NESTHMN”},“original”: {
      
    • “download_url”: “https://assets.frame.io/uploads/UUID//original.png?response-content-disposition=attachment%3B+filename%3D%22foo.png&Expires=1729857600&Signature=UUID/&Key-Pair-Id=KKI497NESTHMN”,
      
    • “inline_url”: “https://assets.frame.io/uploads/UUID//original.png?response-content-disposition=inline%3B+filename%3D%22foo.png&Expires=1729857600&Signature=UUID/&1Key-Pair-Id=KKI497NESTHMN”
      
    },“thumbnail”: {
    
    • “download_url”: “https://assets.frame.io/uploadsUUID//original.png?response-content-disposition=attachment%3B+filename%3D%22foo.png&Expires=1729857600&Signature=UUID/&Key-Pair-Id=KKI497NESTHMN”,
      
    • “url”: “https://picture2.frame.io/image/s3://frameio-assets-development/image/UUID//image_full.png?alg=HS256&sig=UUID/&exp=1729857600”}},
      

Hi @jezekjancom when experimental APIs are moved to the stable version, they will continue to work for 1 month with the api-version:experimental header request, which is to give enough time to remove that header and to make any necessary changes. The api-version:alpha was removed some months ago, I’m unsure of the timing there.

If you want to show the media_links via the list files endpoint, you would do so via the include=media_links.original param.

For example:

GET {{BASE_URL}}/v4/accounts/:account_id/files/:file_id?include=media_links.original

Gives you the following response:

Hope this helps! IF you’re still stuck feel free to follow up and we’ll be more than happy to help! Just FYI our whole team is at IBC for the next 7-8 days so responses may be slow.