Feature request, GraphQL integration.

Created on 4 June 2020, about 4 years ago
Updated 31 May 2024, 25 days ago

Would like access to the Download URL via GraphQL (3.x).

{
  mediaById(id: "5") {
    entityLabel
    mediaDownload {
      path
      routed
    }
  }
}

Could return whats required:

{
  "data": {
    "mediaById": {
      "entityLabel": "Big_Buck_Bunny_1080_10s_30MB.mp4",
      "mediaDownload": {
        "path": "/media/5/download",
        "routed": true
      }
    }
  }
}
✨ Feature request
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia AlMunnings Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States kevinquillen

    Is this still valid and working? It has been a long time.

  • πŸ‡¦πŸ‡ΊAustralia AlMunnings Melbourne

    Oh Lordy!

    As it happens, I’m contracting back at the agency that needed that patch, this week, on that exact site. Wild.

    I’ll check today for you

  • πŸ‡¦πŸ‡ΊAustralia AlMunnings Melbourne

    Hokay,
    So I guess my comment would be:

    3.x is still around, but 4.x is out with a completely new structure,
    The integration probably doesn't belong here, and is probably more of a "create your own module and add a 3.x plugin if you need it" situation.

    The patches existence should be enough of a "nudge in the direction" for any Drupal 9/10 GraphQL 3.x devs needing integration, but this issue could be closed.

  • Status changed to Closed: won't fix 25 days ago
  • πŸ‡ΊπŸ‡ΈUnited States kevinquillen

    Gotcha, thanks for the update.

Production build 0.69.0 2024