Skip to content

Commit

Permalink
update api docs: moveTimes -> moveCentis
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed May 20, 2017
1 parent 35dbd7f commit 6f22452
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ name | type | default | description
"inaccuracy": 0,
"mistake": 2
},
// rounded move times in tenths of seconds
"moveTimes":[30,40,10,40,40,100,50,200,400,150,150,40,50,200,80]
// time taken for each move in hundreths of seconds
"moveCentis": [0, 812, 2516, 7644, 12660, 15740, 4044, ...]
},
"black": ... // other player
}
Expand Down Expand Up @@ -309,7 +309,7 @@ name | type | default | description
}
```

(1) All game statuses: https://github.com/ornicar/scalachess/blob/master/src/main/scala/Status.scala#L16-L25
(1) All game statuses: https://github.com/ornicar/scalachess/blob/master/src/main/scala/Status.scala#L16-L28

### `GET /api/games/vs/<username>/<username>` fetch games between 2 users

Expand Down Expand Up @@ -374,8 +374,8 @@ name | type | default | description
"inaccuracy": 0,
"mistake": 2
},
// rounded move times in tenths of seconds
"moveTimes":[30,40,10,40,40,100,50,200,400,150,150,40,50,200,80]
// time taken for each move in hundreths of seconds
"moveCentis": [0, 812, 2516, 7644, 12660, 15740, 4044, ...]
},
"black": ... // other player
},
Expand Down Expand Up @@ -412,7 +412,7 @@ name | type | default | description
}
```

(1) All game statuses: https://github.com/ornicar/scalachess/blob/master/src/main/scala/Status.scala#L16-L25
(1) All game statuses: https://github.com/ornicar/scalachess/blob/master/src/main/scala/Status.scala#L16-L28

### `POST /api/games` fetch many games by ID

Expand Down

0 comments on commit 6f22452

Please sign in to comment.