[bugfix] Return 501 (not implemented) if user tries to schedule post (#3395)

This commit is contained in:
tobi 2024-10-05 19:14:53 +02:00 committed by GitHub
commit 18e2f69e85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 113 additions and 47 deletions

View file

@ -8947,7 +8947,7 @@ paths:
Providing this parameter will cause ScheduledStatus to be returned instead of Status.
Must be at least 5 minutes in the future.
This feature isn't implemented yet.
This feature isn't implemented yet; attemping to set it will return 501 Not Implemented.
in: formData
name: scheduled_at
type: string
@ -9008,6 +9008,8 @@ paths:
description: not acceptable
"500":
description: internal server error
"501":
description: scheduled_at was set, but this feature is not yet implemented
security:
- OAuth2 Bearer:
- write:statuses