Greenfinch Gateway

This is a gateway so that assets stored on the decentralised neoFS infrastructure, can be viewed or accessed easily from a browser

If you're needing HTTP links to your assets, the Greenfinch Gateway is what you're looking for. Below are some examples

GET /{containerId}/{objectId}

Description

If you want to use the IDs provided for an asset this is the solution

GET /{containerId}

Description

This will retrieve the

index.html
within a container. If there are more than one it will retrieve the first that matches the file name. This is useful for hosting websites

GET /{containerId}/filename

Description

This will retrieve by a specific file name. If there are more than one object with this filename, this will retrieve the first that matches. e.g

/{containerId}/style.css

Description

This will retrieve an object that has an attribute FilePath e.g FilePath=styles/style.css - for example you can retrieve an object like

/{containerId}/assets/styles/style.css

Description

This will retrieve an object by custom attribute e.g MyAttr=someValue - for example you can retrieve an object like

/attribute/{containerId}/MyAttr/someValue