Skip to content

Commit

Permalink
docs(x/data): document IPFS resolver support
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronc committed Nov 29, 2023
1 parent 5d4fd33 commit 78ff598
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions proto/regen/data/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,18 @@ message MsgDefineResolver {
// the manager should make use of cosmos.authz.
string manager = 1;

// resolver_url is a resolver URL which should refer to an HTTP service
// which will respond to a GET request with the IRI of a ContentHash
// resolver_url is a resolver URL.
//
// If it refers to an HTTP URL, that HTTP service should
// respond to a GET request with the IRI of a ContentHash as the path parameter
// and return the content if it exists or a 404. For graph data, resolvers
// should use the HTTP Accept header to negotiate the RDF serialization
// format.
//
// To use IPFS, the resolver_url ipfs: should be defined and u
// resolver for any data hosted on IPFS. Content hashes must be
// adapted to IPFS's CID format. Only content hashes which have
// an equivalent CID representation can be used with IPFS.
string resolver_url = 2;
}

Expand Down

0 comments on commit 78ff598

Please sign in to comment.