Skip to content

Commit

Permalink
Merge pull request #8111 from ipfs/dag-export-is-read-only
Browse files Browse the repository at this point in the history
feat(gw): expose /api/v0/dag/export on gateway port
  • Loading branch information
aschmahmann authored May 5, 2021
2 parents 71761a6 + 7406b83 commit b8de0e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/commands/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func TestROCommands(t *testing.T) {
"/dag/get",
"/dag/resolve",
"/dag/stat",
"/dag/export",
"/dns",
"/get",
"/ls",
Expand Down
1 change: 1 addition & 0 deletions core/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ var rootROSubcommands = map[string]*cmds.Command{
"get": dag.DagGetCmd,
"resolve": dag.DagResolveCmd,
"stat": dag.DagStatCmd,
"export": dag.DagExportCmd,
},
},
"resolve": ResolveCmd,
Expand Down
2 changes: 2 additions & 0 deletions test/sharness/t0110-gateway.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ for cmd in add \
block/put \
bootstrap \
config \
dag/put \
dag/import \
dht \
diag \
id \
Expand Down

0 comments on commit b8de0e8

Please sign in to comment.