summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api/swagger.yaml8
-rw-r--r--docs/configuration/instance.md13
2 files changed, 19 insertions, 2 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml
index df8f09321..836df83e8 100644
--- a/docs/api/swagger.yaml
+++ b/docs/api/swagger.yaml
@@ -10397,10 +10397,14 @@ paths:
x-go-name: Federated
- description: |-
ISO 8601 Datetime at which to schedule a status.
- Providing this parameter will cause ScheduledStatus to be returned instead of Status.
+
+ Providing this parameter with a *future* time 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.
+ Providing this parameter with a *past* time will cause the status to be backdated,
+ and will not push it to the user's followers. This is intended for importing old statuses.
+ format: date-time
in: formData
name: scheduled_at
type: string
diff --git a/docs/configuration/instance.md b/docs/configuration/instance.md
index bffec8f70..2a945eed2 100644
--- a/docs/configuration/instance.md
+++ b/docs/configuration/instance.md
@@ -171,4 +171,17 @@ instance-subscriptions-process-every: "24h"
# Options: ["", "zero", "serve", "baffle"]
# Default: ""
instance-stats-mode: ""
+
+# Bool. This flag controls whether local accounts may backdate statuses
+# using past dates with the scheduled_at param to /api/v1/statuses.
+# This flag does not affect scheduling posts in the future
+# (which is currently not implemented anyway),
+# nor can it prevent remote accounts from backdating their own statuses.
+#
+# If true, all local accounts may backdate statuses.
+# If false, status backdating will be disabled and an error will be returned if it's used.
+#
+# Options: [true, false]
+# Default: true
+instance-allow-backdating-statuses: true
```