Skip to content

Commit

Permalink
Add resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Nov 27, 2015
1 parent 164856a commit b507096
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -407,15 +407,31 @@ Interact with ipfs objects.

+ Response 200 (text/plain)


# Group repo
Manipulate the IPFS repo.

## 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.

+ Response 200 (text/plain)


# Group resolve
Resolve the value of names to IPFS.

## resolve [GET /resolve]
There are a number of mutable name protocols that can link among
themselves and into IPNS. For example IPNS references can (currently)
point at IPFS object, and DNS links can point at other DNS links, IPNS
entries, or IPFS objects. This command accepts any of these
identifiers and resolves them to the referenced item.

+ Response 200 (application/json)

+ Attributes (object)
- Path: `/ipfs/QmeuehsX78RCnHnqxq9o7A1pC5ShrtAcDE3pzwyWjXzeZF` (MultiAddr)

# Group stats
Query IPFS statistics.
Expand Down

0 comments on commit b507096

Please sign in to comment.