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

Sidetree Spec Defines Version Endpoint #916

Open
OR13 opened this issue Nov 10, 2020 · 2 comments
Open

Sidetree Spec Defines Version Endpoint #916

OR13 opened this issue Nov 10, 2020 · 2 comments
Labels
Milestone

Comments

@OR13
Copy link
Contributor

OR13 commented Nov 10, 2020

For example:

curl -X GET "https://staging.element.transmute.industries/element/versions" -H  "accept: application/json"
[
    {
      "name": "core",
      "version": "0.1.0"
    },
    {
      "name": "ethereum",
      "version": "0.1.0"
    },
    {
      "name": "ipfs-with-cache",
      "version": "0.1.0"
    }
  ]
@OR13
Copy link
Contributor Author

OR13 commented Nov 10, 2020

IMO it would be better for us to return what is defined here: #886

{
  "genesisTime": 0,
  "multihashAlgorithm": 18,
  "hashAlgorithm": 5,
  "maxOperationCount": 10,
  "maxOperationSize": 200000,
  "compressionAlgorithm": "GZIP",
  "maxAnchorFileSize": 1000000,
  "maxMapFileSize": 1000000,
  "maxChunkFileSize": 1000000,
  "patches": [
    "replace",
    "add-public-keys",
    "remove-public-keys",
    "add-services",
    "remove-services",
    "ietf-json-patch"
  ],
  "signatureAlgorithms": [
    "EdDSA",
    "ES256",
    "ES256K"
  ],
  "keyAlgorithms": [
    "Ed25519",
    "P-256",
    "secp256k1"
  ]
}

@troyronda
Copy link
Collaborator

API spec update.

@decentralgabe decentralgabe added this to the V1.1 milestone Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants