Provide "webfiles" API to do implicit FilePath search #62

Open
opened 2025-12-28 18:00:01 +00:00 by sami · 0 comments
Owner

Originally created by @roman-khimov on GitHub (Mar 12, 2024).

I'm always frustrated when people have to do dances around our gateway to host some static content from it. Currently it's rewriting required to go from URL/somewhere/something.html to get_by_attribute/CID/FilePath/somewhere/something.html. Doable, sure, but something to think about for users and operators (even ourselves, it's easy to break something here).

Describe the solution you'd like

Implement new API that would basically do the same get_by_attribute trick, but internally. So that we'd get URLs like (similar to) https://http.fs.neo.org/HXSaMJXk2g8C14ht8HSi7BBaiYZ1HeWh2xnWPGQCg4H6/1388-1710261951/index.html served from the gateway directly (currently it works via rewrites).

Describe alternatives you've considered

Leaving as is with people suffering.

Additional context

Discord is a source of ideas if you're to read carefully.

Originally created by @roman-khimov on GitHub (Mar 12, 2024). ## Is your feature request related to a problem? Please describe. I'm always frustrated when people have to do dances around our gateway to host some static content from it. Currently it's rewriting required to go from `URL/somewhere/something.html` to `get_by_attribute/CID/FilePath/somewhere/something.html`. Doable, sure, but something to think about for users and operators (even ourselves, it's easy to break something here). ## Describe the solution you'd like Implement new API that would basically do the same `get_by_attribute` trick, but internally. So that we'd get URLs like (similar to) https://http.fs.neo.org/HXSaMJXk2g8C14ht8HSi7BBaiYZ1HeWh2xnWPGQCg4H6/1388-1710261951/index.html served from the gateway directly (currently it works via rewrites). ## Describe alternatives you've considered Leaving as is with people suffering. ## Additional context Discord is a source of ideas if you're to read carefully.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-rest-gw#62
No description provided.