Skip to content

Provide uploaded media count value #612

@paulrobertlloyd

Description

@paulrobertlloyd

Is your feature request related to a problem?

I want to post photos with the following format:

media/{yyyy}/{DDD}/p{n}/{i}.{ext}

Where i is the index of the photo being posted. So if I post 4 images, I might get the following paths:

  • media/2023/181/p1/1.jpg
  • media/2023/181/p1/2.jpg
  • media/2023/181/p1/3.png
  • media/2023/181/p1/4.gif

Describe the solution you’d like

The media endpoint works one file at a time, without knowledge of other files being uploaded. So will need to query database somehow to work out a number… I’m not sure even if then this will be possible.

Describe alternatives you’ve considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions