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

Commit

Permalink
Added Group repo
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardLitt committed Feb 11, 2016
1 parent 7232510 commit fdfc857
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -1696,8 +1696,53 @@ root will not be listable, as it is virtual. Access known paths directly.
## local

# Group repo
Manipulate the IPFS repo.

## gc
This command can't be called directly.

## gc [GET /repo/gc]
Sweep the local set of stored objects and remove ones that are not pinned in
order to reclaim hard disk space.

+ Request

#### curl

curl -i "http://localhost:5001/api/v0/gc"

+ Body

```
curl -i "http://localhost:5001/api/v0/gc"
```

+ Response 200

+ Headers

```
Access-Control-Allow-Headers: X-Stream-Output, X-Chunked-Output
Access-Control-Expose-Headers: X-Stream-Output, X-Chunked-Output
Content-Type: application/json
Server: go-ipfs/0.4.0-dev
Trailer: X-Stream-Error
Transfer-Encoding: chunked
X-Chunked-Output: 1
Date: Thu, 11 Feb 2016 21:45:58 GMT
Transfer-Encoding: chunked
```

+ Attributes (ndjson)
- Key (Multihash)


+ Body

```
{"Key":"QmNLvkCDV6ZjUJsEwGNporYBuZdhWT6q7TBVYQwwRv12HT"}
{"Key":"QmNMkhF7m6CjJiNLsDbGrhfTbpjfTUu6qG3SVSMQ32isWb"}
```


# Group resolve

Expand Down

0 comments on commit fdfc857

Please sign in to comment.