Media
Set a media file's alt text
Set or remove the alt text the networks get with a file of the media library.
PUT
Needs
media:update, and a role in the workspace that can edit media. See Permissions.
Longer text is cut to the network’s limit, never inside a letter. The other networks don’t take alt text.
Send
alt with the text. It replaces the saved text, and null or an empty string removes it. It is the same alt text the app’s media library and post editor show, so a change shows there too, and it goes with every post that has the file and hasn’t gone out yet. The answer is the file as saved.
To save alt text with a new file, send alt with Upload a file.
Errors
Related
- Get a media file: its
altas saved. - Upload a file: send
altwith the file.
Authorizations
Body
application/json
Response
The file as saved.
A file in the media library: what list, get and the uploads give, and what posts and comments hold.
The alt text, when set: what a picture shows, sent with it to the networks that take alt text. Set it with Set a media file's alt text.
A picture's small copy (about 400 px on its long edge) for cards and lists, or a video's still. Left out until one is made: use url then. See Picture copies.