mirror of
https://github.com/nspcc-dev/neofs-rest-gw.git
synced 2026-03-01 04:29:14 +00:00
Replace Container ID with a Neo NS address (and remove filePath etc) #99
Labels
No labels
I2
I3
I3
I4
S2
S3
S3
S4
U0
U1
U2
U3
U3
U3
U4
blocked
bug
config
documentation
enhancement
feature
go
help wanted
question
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-rest-gw#99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amlwwalker on GitHub (Dec 13, 2024).
Is your feature request related to a problem? Please describe.
Not related to a problem
Describe the solution you'd like
A clean URL thats human readable.
I'm thinking of something where a NNS domain and path could be provided. In such a case it is assumed its a FilePath.
currently
https://rest.fs.neo.org/v1/objects/AX64C7Xdy1gUwPL4RoFJBtkXsCFpmbj93MWHGwQPwrry/by_attribute/FilePath/A/genesis_block
but would be cool if could be something like
bitcoin-wiki.getcassette.rest.fs.neo.org/genesis_blockwhere
bitcoin-wiki.getcassetteis the NNS with .neo removed potentially for easier reading.rest.fs.neo.orgbeing the domain of the gateway and everything after being the FilePaththat would be super clean
If subdomain wildcards weren't possible then could be
rest.fs.neo.org/bitcoin-wiki.getcassette/genesis_blockwhere it is assumed the parameters after the NNS is a FilePath.
Describe alternatives you've considered
I have been doing something like
to look up NNS domains but this is great just doesn't work on web yet so would be cool if the REST GW offered it.