Skip to content

Additional Node HTTP Endpoints #142

@tynes

Description

@tynes

Overview

edited 5/30/19

A high priority TODO is migrating the RPCs to HTTP to allow for more flexibility. This should be fairly straight forward to accomplish since most of the code has already been written and just needs to be adapted to using the HTTP resources instead of the RPC resources.

Proposal

Additional Endpoints to be added:

RPC HTTP
getnameinfo GET /name/:name
getnamebyhash GET /name/hash/:hash
getnameresource GET /resource/name/:name
getnameresourcebyhash GET /resource/hash/:hash
getnameproof GET /proof/name/:name
gtetnameproofbyhash GET /proof/hash/:hash
grindname GET /grind?size=int

sendrawclaim already is implemented as POST /claim

This work has been started here:

Previous Issues mentioning this include #12, #126

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionissue - discussionsnode-httppart of the codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions