Vote on a poll.
643 matches
100 actions
Mastodon API Specification (https://github.com/mastodon/mastodon)
100 actions
- get_api_oembedGETv1.0.0
- get_api_proofsGETv1.0.0
- get_api_v1_accounts_idGETv1.0.0
- get_api_v1_accounts_id_featured_tagsGETv1.0.0
- get_api_v1_accounts_id_followersGETv1.0.0
- get_api_v1_accounts_id_followingGETv1.0.0
- get_api_v1_accounts_id_identity_proofsGETv1.0.0
- get_api_v1_accounts_id_listsGETv1.0.0
- get_api_v1_accounts_id_statusesGETv1.0.0
- get_api_v1_accounts_relationshipsGETv1.0.0
- get_api_v1_accounts_searchGETv1.0.0
- get_api_v1_accounts_verify_credentialsGETv1.0.0
- get_api_v1_admin_accounts_idGETv1.0.0
- get_api_v1_admin_reportsGETv1.0.0
- get_api_v1_admin_reports_idGETv1.0.0
- get_api_v1_announcementsGETv1.0.0
- get_api_v1_apps_verify_credentialsGETv1.0.0
- get_api_v1_blocksGETv1.0.0
- get_api_v1_bookmarksGETv1.0.0
- get_api_v1_conversationsGETv1.0.0
- get_api_v1_custom_emojisGETv1.0.0
- get_api_v1_directoryGETv1.0.0
- get_api_v1_domain_blocksGETv1.0.0
- get_api_v1_endorsementsGETv1.0.0
- get_api_v1_favouritesGETv1.0.0
- get_api_v1_featured_tagsGETv1.0.0
- get_api_v1_featured_tags_suggestionsGETv1.0.0
- get_api_v1_filtersGETv1.0.0
- get_api_v1_filters_idGETv1.0.0
- get_api_v1_follow_requestsGETv1.0.0
- get_api_v1_instanceGETv1.0.0
- get_api_v1_instance_activityGETv1.0.0
- get_api_v1_instance_peersGETv1.0.0
- get_api_v1_listsGETv1.0.0
- get_api_v1_lists_idGETv1.0.0
- get_api_v1_lists_id_accountsGETv1.0.0
- get_api_v1_markersGETv1.0.0
- get_api_v1_media_idGETv1.0.0
- get_api_v1_mutesGETv1.0.0
- get_api_v1_notificationsGETv1.0.0
- get_api_v1_notifications_idGETv1.0.0
- get_api_v1_polls_idGETv1.0.0
- get_api_v1_preferencesGETv1.0.0
- get_api_v1_push_subscriptionGETv1.0.0
- get_api_v1_scheduled_statusesGETv1.0.0
- get_api_v1_scheduled_statuses_idGETv1.0.0
- get_api_v1_statuses_idGETv1.0.0
- get_api_v1_statuses_id_contextGETv1.0.0
- get_api_v1_statuses_id_favourited_byGETv1.0.0
- get_api_v1_statuses_id_reblogged_byGETv1.0.0
- get_api_v1_suggestionsGETv1.0.0
- get_api_v1_timelines_homeGETv1.0.0
- get_api_v1_timelines_list_list_idGETv1.0.0
- get_api_v1_timelines_publicGETv1.0.0
- get_api_v1_timelines_tag_hashtagGETv1.0.0
- get_api_v1_trendsGETv1.0.0
- get_api_v2_searchGETv1.0.0
- post_api_v1_accountsPOSTv1.0.0
- post_api_v1_accounts_id_blockPOSTv1.0.0
- post_api_v1_accounts_id_followPOSTv1.0.0
- post_api_v1_accounts_id_mutePOSTv1.0.0
- post_api_v1_accounts_id_notePOSTv1.0.0
- post_api_v1_accounts_id_pinPOSTv1.0.0
- post_api_v1_accounts_id_unblockPOSTv1.0.0
- post_api_v1_accounts_id_unfollowPOSTv1.0.0
- post_api_v1_accounts_id_unmutePOSTv1.0.0
- post_api_v1_accounts_id_unpinPOSTv1.0.0
- post_api_v1_admin_accounts_id_actionPOSTv1.0.0
- post_api_v1_admin_accounts_id_approvePOSTv1.0.0
- post_api_v1_admin_accounts_id_enablePOSTv1.0.0
- post_api_v1_admin_accounts_id_rejectPOSTv1.0.0
- post_api_v1_admin_accounts_id_unsilencePOSTv1.0.0
- post_api_v1_admin_accounts_id_unsuspendPOSTv1.0.0
- post_api_v1_admin_reports_id_assign_to_selfPOSTv1.0.0
- post_api_v1_admin_reports_id_reopenPOSTv1.0.0
- post_api_v1_admin_reports_id_resolvePOSTv1.0.0
- post_api_v1_admin_reports_id_unassignPOSTv1.0.0
- post_api_v1_announcements_id_dismissPOSTv1.0.0
- post_api_v1_appsPOSTv1.0.0
- post_api_v1_conversations_id_readPOSTv1.0.0
- post_api_v1_domain_blocksPOSTv1.0.0
- post_api_v1_featured_tagsPOSTv1.0.0
- post_api_v1_filtersPOSTv1.0.0
- post_api_v1_follow_requests_id_authorizePOSTv1.0.0
- post_api_v1_follow_requests_id_rejectPOSTv1.0.0
- post_api_v1_listsPOSTv1.0.0
- post_api_v1_lists_id_accountsPOSTv1.0.0
- post_api_v1_markersPOSTv1.0.0
- post_api_v1_mediaPOSTv1.0.0
- post_api_v1_media_idPOSTv1.0.0
- post_api_v1_notifications_clearPOSTv1.0.0
- post_api_v1_notifications_id_dismissPOSTv1.0.0
- post_api_v1_polls_idPOSTv1.0.0
- post_api_v1_push_subscriptionPOSTv1.0.0
- post_api_v1_reportsPOSTv1.0.0
- post_api_v1_statusesPOSTv1.0.0
- post_api_v1_statuses_id_bookmarkPOSTv1.0.0
- post_api_v1_statuses_id_favouritePOSTv1.0.0
- post_api_v1_statuses_id_mutePOSTv1.0.0
- post_api_v1_statuses_id_pinPOSTv1.0.0
Social/Mastodon API Specification (https://github.com/mastodon/mastodon)
post_api_v1_polls_id
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
{
"type": "object",
"required": [
"choices"
],
"properties": {
"choices": {
"type": "array",
"items": {
"type": "string"
}
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
{
"description": "Represents a poll attached to a status.",
"properties": {
"emojis": {
"type": "array",
"description": "Custom emoji to be used for rendering poll options.",
"items": {
"type": "object",
"description": "Represents a custom emoji.",
"required": [
"shortcode",
"url",
"static_url",
"visible_in_picker"
],
"properties": {
"category": {
"type": "string",
"description": "Used for sorting custom emoji in the picker."
},
"shortcode": {
"type": "string",
"description": "The name of the custom emoji."
},
"static_url": {
"type": "string",
"description": "A link to a static copy of the custom emoji. The format is URL."
},
"url": {
"type": "string",
"description": "A link to the custom emoji. The format is URL."
},
"visible_in_picker": {
"type": "boolean",
"description": "Whether this Emoji should be visible in the picker or unlisted."
}
}
}
},
"expired": {
"type": "boolean",
"description": "Is the poll currently expired?"
},
"expires_at": {
"type": "string",
"format": "date-time",
"description": "When the poll ends. ISO 8601 Datetime, or null if the poll does not end."
},
"id": {
"type": "string",
"description": "The ID of the poll in the database. Cast from an integer, but not guaranteed to be a number."
},
"multiple": {
"type": "boolean",
"description": "Does the poll allow multiple-choice answers?"
},
"options": {
"type": "array",
"description": "Possible answers for the poll.",
"items": {
"type": "object"
}
},
"own_votes": {
"type": "array",
"description": "When called with a user token, which options has the authorized user chosen? Contains an array of index values for `options`. Array of Number, or null if no current user",
"items": {
"type": "integer"
}
},
"voted": {
"type": "boolean",
"description": "When called with a user token, has the authorized user voted? Boolean, or null if no current user"
},
"voters_count": {
"type": "integer",
"description": "How many unique accounts have voted on a multiple-choice poll. Number, or null if `multiple` is false."
},
"votes_count": {
"type": "integer",
"description": "How many votes have been received."
}
}
}