Get Group Announcement Vote - Revadike/InternalSteamWebAPI GitHub Wiki
GET /gid/:groupid/announcements/ajaxgetmyvote/:gid
Returns the authenticated user's vote on a group announcement.
Rate limits
No known rate limit
Request
Authenticated: Yes
Method:
GETHost:
steamcommunity.comPath:
/gid/:groupid/announcements/ajaxgetmyvote/:gidVariables:
Name Type Description :groupidnumber The 64-bit SteamID of the group :gidstring The 64-bit ID of the announcement Headers:
Name Required Description X-Requested-WithYes Use XMLHttpRequestas value (mandatory)
Response
200 OK
Name Type Description successnumber Whether the request was successful voted_downnumber 1if the user voted the announcement down, otherwise0voted_upnumber 1if the user voted the announcement up, otherwise0
401 Unauthorized
Name Type Description successnumber Whether the request was successful err_msgstring The error message
Example
GET https://steamcommunity.com/gid/103582791474397691/announcements/ajaxgetmyvote/1
{
"success": 1,
"voted_down": 0,
"voted_up": 0
}