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

Commit

Permalink
Added periods, removed errant response, added Attr desc
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardLitt committed Feb 18, 2016
1 parent ec365ca commit 10a3c89
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -1338,22 +1338,13 @@ Outputs the list of peers that were removed.

# Group cat

Show IPFS object data
Show IPFS object data.

## cat [GET /cat{?arg}]
Retrieves the object named by <ipfs-or-ipns-path> and outputs the data it contains.

+ Parameters
+ arg (string, required) - The path to the IPFS object or objects to be outputted

+ Response 200

+ Headers

```
Transfer-Encoding: chunked
X-Stream-Output: 1
```
+ arg (string, required) - The path to the IPFS object or objects to be outputted.

+ Request Without Arguments

Expand All @@ -1379,6 +1370,8 @@ Retrieves the object named by <ipfs-or-ipns-path> and outputs the data it contai

+ Attributes (string)

This is the raw content of the file.

+ Body

```
Expand Down Expand Up @@ -1463,6 +1456,7 @@ Retrieves the object named by <ipfs-or-ipns-path> and outputs the data it contai
"Message": "this dag node is a directory",
"Code": 0
}
```

+ Request With Valid Argument

Expand Down

0 comments on commit 10a3c89

Please sign in to comment.