Get My Announcement Vote - Revadike/InternalSteamWebAPI GitHub Wiki

GET /actions/ajaxgetmyannouncementvote

Returns the current user's upvote/downvote on a group announcement, identified by its 64-bit GID.

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: GET

Host: store.steampowered.com

Path: /actions/ajaxgetmyannouncementvote

Query Parameters:

Name Type Required Description
gid string Yes The 64-bit ID of the announcement

Response

200 OK

Name Type Description
success number Whether the request was successful
voted_down number 1 if the user voted the announcement down, otherwise 0
voted_up number 1 if the user voted the announcement up, otherwise 0

400 Bad Request

Name Type Description
success number Whether the request was successful
err_msg string The error message

401 Unauthorized

Name Type Description
success number Whether the request was successful

Example

GET https://store.steampowered.com/actions/ajaxgetmyannouncementvote?gid=1
{
    "success": 1,
    "voted_down": 0,
    "voted_up": 0
}