API
group.completeAvatarUpload
API
group.completeAvatarUpload
Completes an avatar image upload. Must be called after the file upload
process completes.
Call rivet.api.group#PrepareAvatarUpload
first.
POST https://group.api.rivet.gg/v1/groups/{group_id}/avatar-upload/{upload_id}/complete
curl -X POST -d '@body.json' 'https://group.api.rivet.gg/v1/groups/{group_id}/avatar-upload/{upload_id}/complete'
Authorizations
Authorization[header]required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
group_idrequired
string
upload_idrequired
string
curl -X POST -d '@body.json' 'https://group.api.rivet.gg/v1/groups/{group_id}/avatar-upload/{upload_id}/complete'