Store temporary avatar using multipart
Creates temporary avatar using multipart. The response is sent back as JSON stored in a textarea. This is because the client uses remote iframing to submit avatars using multipart. So we must send them a valid HTML page back from which the client parses the JSON.
POST
/api/2/project/{projectIdOrKey}/avatar/temporaryAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
projectIdOrKeystringrequiredProject id or project key
Request body
multipart/form-datacontentTypestringformFieldbooleaninputStreamobjectnamestringsizeinteger<int64>valuestringResponses
201
Temporary avatar cropping instructions embeded in HTML page. Error messages will also be embeded in the page.
cropperOffsetXinteger<int32>cropperOffsetYinteger<int32>cropperWidthinteger<int32>needsCroppingbooleanurlstring404
Returned if the currently authenticated user does not have EDIT PROJECT permission