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:
parent
0bae8f75cf
commit
3f01592a06
|
@ -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 |
|
||||
|
|
Loading…
Reference in New Issue