Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Commit

Permalink
Small edits
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardLitt committed Mar 1, 2016
1 parent 45a1f0b commit 5990c0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,7 @@ Import a tar file into IPFS.

The response is the same if the argument is invalid. For example:

curl -i -F "data=@test" -X POST http://localhost:5001/api/v0/tar/add"
curl -i -F "data=@test" -X POST "http://localhost:5001/api/v0/tar/add"

Where 'test' is not a tarball.

Expand Down Expand Up @@ -1939,6 +1939,8 @@ Export a tar file from IPFS

+ Request With Argument

This call depends on the given hash being a tar file.

#### curl

curl -i "http://localhost:5001/api/v0/tar/cat?arg=QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ"
Expand All @@ -1951,6 +1953,8 @@ Export a tar file from IPFS

+ Response 200

The Content-Type of the response should be `application/x-tar`.

+ Headers

```
Expand Down

0 comments on commit 5990c0e

Please sign in to comment.