Edit media
documentedEdit a media item.
POST /sites/{site}/media/{media_ID}/editMediano implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://public-api.wordpress.com/rest/v1.2/sites/{{$site}}/media/{{$media_ID}}/edit" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"parent_id": {{$parent_id}}, "title": "{{$title}}", "caption": "{{$caption}}", "description": "{{$description}}", "alt": "{{$alt}}", "artist": "{{$artist}}", "album": "{{$album}}"}'