Update nullable of url in Status (#622)

https://bidule.menf.in/api/v1/statuses/82725 is an example of a valid status even though it contains a null url field. Either my application should reject this, or the API should explicitely allow it.
This commit is contained in:
Jean Potier 2018-05-20 21:50:20 +03:00 committed by Eugen Rochko
parent 0bae8f75cf
commit 3f01592a06
1 changed files with 1 additions and 1 deletions

View File

@ -927,7 +927,7 @@ The most important part of an error response is the HTTP status code. Standard s
| ------------------------ | ----------------------------------------------------------------------------- | -------- |
| `id` | The ID of the status | no |
| `uri` | A Fediverse-unique resource ID | no |
| `url` | URL to the status page (can be remote) | no |
| `url` | URL to the status page (can be remote) | yes |
| `account` | The [Account](#account) which posted the status | no |
| `in_reply_to_id` | `null` or the ID of the status it replies to | yes |
| `in_reply_to_account_id` | `null` or the ID of the account it replies to | yes |