Document cancel bet

This commit is contained in:
James Grugett 2022-08-10 18:42:44 -05:00
parent 8c537537a1
commit 61ae481a03

View File

@ -528,6 +528,10 @@ $ curl https://manifold.markets/api/v0/bet -X POST -H 'Content-Type: application
"contractId":"{...}"}' "contractId":"{...}"}'
``` ```
### `POST /v0/bet/cancel/[id]`
Cancel the limit order of a bet with the specified id. If the bet was unfilled, it will be cancelled so that no other bets will match with it. This is action irreversable.
### `POST /v0/market` ### `POST /v0/market`
Creates a new market on behalf of the authorized user. Creates a new market on behalf of the authorized user.