Merge pull request #317 from tinruufu/master

don't encourage people to use base64 avatar and header image uploads
This commit is contained in:
Eugen Rochko 2017-06-18 14:43:32 +02:00 committed by GitHub
commit 8b264584fc
1 changed files with 6 additions and 6 deletions

View File

@ -87,12 +87,12 @@ Returns the authenticated user's [Account](#account).
Form data:
| Field | Description | Optional |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| `display_name` | The name to display in the user's profile | yes |
| `note` | A new biography for the user | yes |
| `avatar` | A base64 encoded image to display as the user's avatar (e.g. `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUoAAADrCAYAAAA...`) | yes |
| `header` | A base64 encoded image to display as the user's header image (e.g. `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUoAAADrCAYAAAA...`) | yes |
| Field | Description | Optional |
| -------------- | ----------------------------------------- | ---------- |
| `display_name` | The name to display in the user's profile | yes |
| `note` | A new biography for the user | yes |
| `avatar` | An avatar for the user | yes |
| `header` | A header image for the user | yes |
#### Getting an account's followers: