Describe the change you would like:
Right now there is no easy way to get the positions for each answer in Multiple Choice markets via the API.
Positions for userId only returns 1 ContractMetric for this multiple choice Market (which should return 3, one for each answer): https://manifold.markets/api/v0/market/4tncJqAz3fcqkk5usxYV/positions?userId=yBWmGAkVl1YzMHN6831nYQdTKJO2
Approval Criteria:
Either:
Change the
market/id/positionsapi to returnContractMetricsfor each answer.Extend the existing
market/id/positionsapi to returnContractMetricsfor specific answers via aanswerIdparam if we are worried about breaking the base positions response for existing clients.
Submit a solution:
Add a comment below with a link to proof of the change (Github PR, Loom, etc..) to be awarded the bounty.