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

Endpoint /accounts/:accountId/metadata #109

Open
4 tasks
p4u opened this issue Dec 15, 2023 · 2 comments
Open
4 tasks

Endpoint /accounts/:accountId/metadata #109

p4u opened this issue Dec 15, 2023 · 2 comments

Comments

@p4u
Copy link
Member

p4u commented Dec 15, 2023

The new endpoint /accounts/:accountId/metadata returns only the account metadata object.

If the account provides from archive, and does not exist on the blockchain state, it will also be returned.

On the other side, the /accounts/:accountId endpoint works as usual but does not return anymore the archive accounts.

curl -s http://localhost:9090/v2/accounts/38d2bc91b89928f78cbab3e4b1949e28787ec7a3/metadata

{
  "version": "1.0",
  "name": {
    "default": "vocdoni stuff #1"
  },
  "description": {
    "default": ""
  },
  "newsFeed": {
    "default": ""
  },
  "media": {},
  "meta": {}
}

Tasks

  • integrated on the SDK
  • updated on the UI
  • updated on the Explorer
  • documentation
@elboletaire
Copy link
Member

How does this affect the UI and explorer? Given the nature of the change, wouldn't suffice by just updating the behavior in the SDK? Maybe I'm missing something here 😅

@jpaulet
Copy link
Member

jpaulet commented Jan 25, 2024

@marcvelmer should we update something in the UI or we can close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants