Zambfd Member Aug 22, 2019 #1 Hi, is there any possibility to use the API endpoints (e.g. POST /threads/{id}/) to perform a vote in an existing quick poll? Regards
Hi, is there any possibility to use the API endpoints (e.g. POST /threads/{id}/) to perform a vote in an existing quick poll? Regards
Zambfd Member Jul 21, 2021 #2 Two years later - I'll rephrase the question. ^^ When, or can we even expect the API to support this feature one day?
Two years later - I'll rephrase the question. ^^ When, or can we even expect the API to support this feature one day?
Jake B. Well-known member Jul 21, 2021 #3 REST API endpoints (2.2) This document assumes you have already created an API key and setup the necessary headers for your request. Learn more about using the API. xenforo.com
REST API endpoints (2.2) This document assumes you have already created an API key and setup the necessary headers for your request. Learn more about using the API. xenforo.com
P Paul B XenForo moderator Staff member Jul 21, 2021 #4 Jake B. said: REST API endpoints (2.2) This document assumes you have already created an API key and setup the necessary headers for your request. Learn more about using the API. xenforo.com Click to expand... That relates to up/downvoting threads, not voting in a poll - the API doesn't support that.
Jake B. said: REST API endpoints (2.2) This document assumes you have already created an API key and setup the necessary headers for your request. Learn more about using the API. xenforo.com Click to expand... That relates to up/downvoting threads, not voting in a poll - the API doesn't support that.
Jake B. Well-known member Jul 21, 2021 #5 Brogan said: That relates to up/downvoting threads, not voting in a poll - the API doesn't support that. Click to expand... Oh yep, you're right
Brogan said: That relates to up/downvoting threads, not voting in a poll - the API doesn't support that. Click to expand... Oh yep, you're right
Zambfd Member Jul 21, 2021 #6 e.g. POST /threads/{id}/vote/ Param: response_id[] (List/Array cause of multi vote polls). OR POST /poll/{id}/ Param: response_id[] (List/Array cause of multi vote polls) I also miss the general possibility to withdraw votes. ^^
e.g. POST /threads/{id}/vote/ Param: response_id[] (List/Array cause of multi vote polls). OR POST /poll/{id}/ Param: response_id[] (List/Array cause of multi vote polls) I also miss the general possibility to withdraw votes. ^^
P Paul B XenForo moderator Staff member Jul 21, 2021 #7 There is no API endpoint for voting in polls.
Zambfd Member Jul 21, 2021 #8 Brogan said: There is no API endpoint for voting in polls. Click to expand... Yes, good point, that's why I opened this thread two years ago. ^^ My last postings were no "where's that" but a "that would be my suggestion". Last edited: Jul 21, 2021
Brogan said: There is no API endpoint for voting in polls. Click to expand... Yes, good point, that's why I opened this thread two years ago. ^^ My last postings were no "where's that" but a "that would be my suggestion".