Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide uploaded media count value #612

Open
paulrobertlloyd opened this issue Jun 30, 2023 · 0 comments
Open

Provide uploaded media count value #612

paulrobertlloyd opened this issue Jun 30, 2023 · 0 comments
Labels
enhancement New feature or request plugin-endpoint Endpoint plug-in
Milestone

Comments

@paulrobertlloyd
Copy link
Collaborator

paulrobertlloyd commented Jun 30, 2023

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

@paulrobertlloyd paulrobertlloyd added the enhancement New feature or request label Jun 30, 2023
@paulrobertlloyd paulrobertlloyd changed the title Provide media count value Provide uploaded media count value Jun 30, 2023
@paulrobertlloyd paulrobertlloyd added this to the Later milestone Jun 30, 2023
@paulrobertlloyd paulrobertlloyd added the plugin-endpoint Endpoint plug-in label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin-endpoint Endpoint plug-in
Projects
None yet
Development

No branches or pull requests

1 participant