Update an Attachment, before it is attached to a status and posted.
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_media_id
v1.0.0Output
- 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
{
"description": "Represents a file or media attachment that can be added to a status.",
"required": [
"id",
"preview_url",
"type",
"url"
],
"properties": {
"blurhash": {
"type": "string",
"description": "A hash computed by the [BlurHash algorithm](https://github.com/woltapp/blurhash), for generating colorful preview thumbnails when media has not been downloaded yet."
},
"description": {
"type": "string",
"description": "Alternate text that describes what is in the media attachment, to be used for the visually impaired or when media attachments do not load."
},
"id": {
"type": "string",
"description": "The ID of the attachment in the database. Cast from an integer but not guaranteed to be a number"
},
"meta": {
"type": "object",
"description": "Metadata returned by Paperclip."
},
"preview_url": {
"type": "string",
"description": "The location of a scaled-down preview of the attachment."
},
"remote_url": {
"type": "string",
"description": "The location of the full-size original attachment on the remote website. String or null if the attachment is local."
},
"text_url": {
"type": "string",
"description": "A shorter URL for the attachment."
},
"type": {
"type": "string",
"description": "The type of the attachment.",
"enum": [
"unknown",
"image",
"gifv",
"video",
"audio"
]
},
"url": {
"type": "string",
"description": "The location of the original full-size attachment."
}
}
}