Skip to content

Commit

Permalink
Add ping
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Nov 27, 2015
1 parent b507096 commit ae4d3b4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,39 @@ Interact with ipfs objects.
+ Response 200 (text/plain)

# Group ping
Send echo request packets to IPFS hosts

## ping [GET /ping]
A tool to test sending data to other nodes. It finds nodes
via the routing system, send pings, wait for pongs, and print out round-
trip latency information.

+ Response 200 (application/json)
+ Headers

```
X-Chunked-Output: 1
```

+ Body

```
{
"Success": false,
"Time": 0,
"Text": "PING QmSqn9NJaPrdvDRQxUC2FMQWjJQnvbjUuMoXvA8hm5Nx1b."
}
{
"Success": true,
"Time": 113267897,
"Text": ""
}
{
"Success": true,
"Time": 56161127,
"Text": ""
}
```

# Group refs

Expand Down

0 comments on commit ae4d3b4

Please sign in to comment.