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

Add real responses to the /mapconfig/list[audio|video|image] endpoints #1308

Closed
jacobwod opened this issue Mar 28, 2023 · 0 comments
Closed
Assignees
Labels
module:backend MapService stuff
Milestone

Comments

@jacobwod
Copy link
Member

When NodeJS backend was created the endpoints specified in the title were only added as stubs, always responding with empty arrays. The reasoning behind that decision was that since Admin UI lacks the possibility to actually upload files, the solution should be seen as temporary and will be replaced in a near future with a more robust solution.

That didn't happen and we're still here, 3 years later.

So I'm adding those endpoints to confirm with the API specification. I'll be adding some nice settings too, such as the ability to actually configure which directory holds the uploaded files (since App_Data/Upload might not always be the most obvious location). I'll also add the option to specify which extensions are considered valid for each of the three types.

@jacobwod jacobwod added the module:backend MapService stuff label Mar 28, 2023
@jacobwod jacobwod added this to the 3.x milestone Mar 28, 2023
@jacobwod jacobwod self-assigned this Mar 28, 2023
@jacobwod jacobwod changed the title Add real responses to the /mapconfig/list[audio|video|image endpoints Add real responses to the /mapconfig/list[audio|video|image] endpoints Mar 28, 2023
@jacobwod jacobwod modified the milestones: 3.x, 3.12 Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:backend MapService stuff
Projects
None yet
Development

No branches or pull requests

1 participant