Commit Graph

30 Commits

Author SHA1 Message Date
Keri Warr
cfeb50826c
Add endpoint for reading currently authenticated user (#710) 2022-08-02 00:06:23 -07:00
Marshall Polaris
6901507461
Allow unspecfied outcome as input to sellshares (#706)
* Allow unspecfied outcome as input to `sellshares`

* Fix small details
2022-08-01 23:53:12 -07:00
Marshall Polaris
ec84245dd4
Add some API endpoints for reading group info (#707) 2022-08-01 14:59:45 -07:00
Marshall Polaris
b506e96548
Implement "sell all shares" functionality in sellshares and expose API (#696)
* Change `sellshares` to be able to sell all shares

* Sell all shares properly on bet panel UI

* Add API route for selling shares, document
2022-07-26 12:47:19 -07:00
Olivia Appleton
1f655acddb
Add my market manager tool (#690) 2022-07-23 23:33:19 -07:00
Marshall Polaris
38c26f8b5c
Add API endpoints for fetching user info by username and ID (#652)
* Add an API endpoint for fetching user info by username

* Add endpoint for querying users by ID, too

* Add very simple docs about user APIs
2022-07-15 14:03:34 -07:00
Ben Congdon
c3bc25a4b9
Add API route for listing a bets by user (#567)
* Add API route for getting a user's bets

* Refactor bets API to use /bets

* Update /markets to use zod validation

* Update docs
2022-07-07 15:36:02 -07:00
ahalekelly
2591655269
Fix docs edit link (#624)
* Fix docs edit link

* Update github links
2022-07-06 15:41:13 -06:00
Marshall Polaris
b0b8c6e98b
Make the resolve API docs not obviously wrong (#604) 2022-06-30 15:25:32 -07:00
Ben Congdon
c5efd5b7d0
Market Resolution API (#600)
* Add market resolution API

* Add additional free market resolution validation

* Address review comments

* Refactor resolution validation code somewhat

Co-authored-by: Marshall Polaris <marshall@pol.rs>
2022-06-30 15:11:45 -07:00
Ben Congdon
a5a0a1370a
Remove daily free market text from docs (#601) 2022-06-30 10:07:28 -05:00
Justin
fa86f5e89a
Add Users API endpoint (#547)
* add users endpoint to API

* docs, url

* tweak docs
2022-06-25 16:28:01 -07:00
Ben Congdon
4a1a907b37
Fix API docs formatting (#568) 2022-06-23 10:51:41 -05:00
ahalekelly
4eedf65b21
API update pool (#553)
* Update api pool and totalLiquidity

* fix pool type

* reverting totalLiquidity changes

* pool and totalLiquidity docs description

* Changed pool type to match elsewhere
2022-06-23 00:37:04 -07:00
Justin
4ea7b6692a
add resolutionProbability to LiteMarket (#546) 2022-06-22 15:28:11 -07:00
Justin
402f80b420
Updating docs (#549)
* update docs pass 1

* styling

* urls

* merge binary/fr market docs

* styling

* cpmm liquidity details

* liquidity disclaimer

* ahalekelly suggestions

* pool note
2022-06-22 01:12:52 -07:00
Marshall Polaris
dca957708c
http -> https in documentation (#552) 2022-06-19 14:48:16 -07:00
Ben Congdon
2d3088bfc3
Create initial 'Awesome Manifold' docs page (#522)
* Create initial 'Awesome Manifold' docs page

* Add awesome-manifold entry for Mastodon bot
2022-06-16 16:46:41 -07:00
ahalekelly
73b048a5dc
Update binary-markets.md (#512) 2022-06-16 15:25:21 -07:00
Ben Congdon
60bb892601
Include free response answers in FullMarket API response (#519) 2022-06-16 15:14:59 -07:00
ahalekelly
6bb1a1f9ea
Update edit link to point to new repo (#514)
Resolves #498
2022-06-16 14:58:05 -07:00
Ben Congdon
cb70ab3675
Typo fix in market creation API example (#497) 2022-06-14 17:27:48 -07:00
SirSaltyy
cb64703905
Fix bounties (#502)
fix formatting error
2022-06-14 20:22:20 +01:00
mantikoros
b08cdd495f Revert "Refinement of LiteMarket (#479)"
This reverts commit 9945738811.
2022-06-14 12:06:22 -05:00
TrueMilli
9945738811
Refinement of LiteMarket (#479)
* split into two function to access the pool value as number

* rename function

* changes to the exported object

* removal of totalLiquidity: this value was only set for binary markets and it's value is identical to getPoolvalue(contract)
* pool: set in the same way as in the "Market Overview" from contract-info-dialog.tsx now
* totalShares: total shares of the contract. It's value is equal to the old "pool" value in case of binary markets

* update docs

* removal of totalShares
2022-06-14 12:01:12 -05:00
SirSaltyy
da2c6ae037
Update docs.md (#499)
* Create how to manifold.md

* Updates to docs

Updated bounties, added new "How to Manifold" page, edited "About Manifold Markets" page.
2022-06-14 17:57:16 +01:00
Marshall Polaris
5a2ff18859
Add paging to /markets API endpoint (#468)
* Add really simple paging to markets endpoint

* Document changes to markets endpoint

* n -> limit
2022-06-08 18:08:06 -07:00
Marshall Polaris
43be03617a
Documentation for new write API endpoints (#430) 2022-06-07 15:39:05 -07:00
Marshall Polaris
cee8e8b892
Fix up formatting in the docs package to use Prettier correctly (#370)
* Add .prettierignore to docs package

* Fix up prettier errors
2022-05-31 14:50:21 -07:00
Marshall Polaris
c640b4c830
Bring docs repo into main repo as new workspace (#369)
* Bring docs repo into main repo as new workspace

* Pin @types/react to 17.x
2022-05-31 14:30:58 -07:00