-
- Translation help networkKudoZOther terminology resourcesLearn more: About terminology at ProZ.com
-
-
POST: /mediaPost an image for storage at ProZ.com. An ID will be returned that can be used to include the uploaded media in a "what I'm working on" entry. Required authorization scope
When using OAuth2 access tokens, the Request payload
The request body should be a File specifications:
Example requestHere's an example of submitting a request using curl -H 'Content-Type: application/json' \ -H 'Authorization: Bearer OAUTH2_ACCESS_TOKEN' \ --form [email protected] \ https://api.proz.com/v2/media ResponseOn success, a { "media_id": 12345, "size": 98865, "media_type": "image", "image": { "width": 125, "height": 150, "image_type": "image/jpeg" } } On error, a standard error response will be returned. |