NATS5 REST API Affiliate PATCH avatar
From TMM Wiki
Jump to navigationJump to search
PATCH /affiliate/avatar
Description
- Crop temp avatar and set as avatar for affiliate
Resource URL
- http://domain/api/affiliate/avatar
- Replace domain with the nats domain
- PATCH
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- loginid
- type: digit
- required
- x1
- type: digit
- required
- x2
- type: digit
- required
- y1
- type: digit
- required
- y2
- type: digit
- required
- filename
- type: string
- required