Poll API: 'own_votes' field doesn't exist in Poll entity
You can find own_votes
(list of option indexes) field in Poll entity in Mastodon docs - https://docs.joinmastodon.org/entities/poll/ but Pleroma response don't have it (checked in single and multi-choice) at 2.2.50-708-gbe7a76ab
Pleroma response:
{
"emojis": [],
"expired": false,
"expires_at": "2021-01-11T11:06:29.000Z",
"id": "635112",
"multiple": false,
"options": [
{
"title": "1",
"votes_count": 1
},
{
"title": "2",
"votes_count": 0
}
],
"voted": true,
"voters_count": 1,
"votes_count": 1
}
Example from Mastodon docs
{
"id": "34830",
"expires_at": "2019-12-05T04:05:08.302Z",
"expired": true,
"multiple": false,
"votes_count": 10,
"voters_count": null,
"voted": true,
"own_votes": [
1
],
"options": [
{
"title": "accept",
"votes_count": 6
},
{
"title": "deny",
"votes_count": 4
}
],
"emojis": []
}