Closed elocremarc closed 4 weeks ago
@raphjaph @casey thoughts? We discussed this in an issue and on stream a few months back.
Love this! Wonder if something like /content/:id/delegation
is a better endpoint. Seems a bit odd to have this be the only endpoint under /r/
that won't return JSON.
@lifofifoX I been thinking the same thing. Also yeah /r/
is required to be JSON this breaks that convention. Plus they already cache /content/
on cloudflare this would be a easy add.
I just went with the route Casey and I discussed in the initial issue.
Endpoints are under r/
not because they return JSON, but because they are recursive, i.e., accessible to inscriptions.
@casey @raphjaph made the changes. Other than what we call the route it should be gtg.
Allows a delegated inscription to acess its own content with
/r/undelegated-content/:id
closes https://github.com/ordinals/ord/issues/3700An inscription with delegated content "foo" and original content "bar" will return the following:
/content/:id
/r/undelegated-content/:id