Skip to content

Add public info endpoint #253

@damip

Description

@damip

Need

  • after discussing with Compound, there needs to be a way to store multiple custom elements:
    • addresses of the provider operator on multiple blockchains for providers to receive rewards from users (eg. liquity-style)

Solution

All those needs can be easily solved with a single solution.

On deweb providers, add a /__deweb_info endpoint (available on all subdomains) that returns a JSON:

{
    "app": "deweb",
    "version": ...,
    "misc": ...
}

Version contains the version number of the deweb provider.
And "misc" contains a raw json put in the JSON config file in the "misc_public_info" section.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions