trueblocks-core icon indicating copy to clipboard operation
trueblocks-core copied to clipboard

Insustry standard URL for our API

Open tjayrush opened this issue 1 year ago • 0 comments

I feel like our API is odd. Shouldn't it be

http://localhost:8080/blocks/:id/

or maybe even

http://localhost:8080/v3/blocks/:id/

(with a version string?)

Then we can remove things like http://localhost:8080/blocks?blocks=12 or http://localhost:8080/chunks?modes=index

Should be http://localhost:8080/chunks/index (I think.)

tjayrush avatar May 01 '24 23:05 tjayrush