summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/swagger.yaml21
1 files changed, 12 insertions, 9 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml
index b5eca23c6..2215bddc6 100644
--- a/docs/api/swagger.yaml
+++ b/docs/api/swagger.yaml
@@ -439,8 +439,8 @@ definitions:
x-go-name: ID
invite_request:
description: |-
- The reason given when requesting an invite.
- Null if not known / remote account.
+ The reason given when signing up.
+ Null if no reason / remote account.
example: Pleaaaaaaaaaaaaaaase!!
type: string
x-go-name: InviteRequest
@@ -1842,13 +1842,14 @@ definitions:
type:
description: |-
The type of event that resulted in the notification.
- follow = Someone followed you
- follow_request = Someone requested to follow you
- mention = Someone mentioned you in their status
- reblog = Someone boosted one of your statuses
- favourite = Someone favourited one of your statuses
- poll = A poll you have voted in or created has ended
- status = Someone you enabled notifications for has posted a status
+ follow = Someone followed you. `account` will be set.
+ follow_request = Someone requested to follow you. `account` will be set.
+ mention = Someone mentioned you in their status. `status` will be set. `account` will be set.
+ reblog = Someone boosted one of your statuses. `status` will be set. `account` will be set.
+ favourite = Someone favourited one of your statuses. `status` will be set. `account` will be set.
+ poll = A poll you have voted in or created has ended. `status` will be set. `account` will be set.
+ status = Someone you enabled notifications for has posted a status. `status` will be set. `account` will be set.
+ admin.sign_up = Someone has signed up for a new account on the instance. `account` will be set.
type: string
x-go-name: Type
title: Notification represents a notification of an event relevant to the user.
@@ -2773,6 +2774,8 @@ paths:
description: not found
"406":
description: not acceptable
+ "422":
+ description: Unprocessable. Your account creation request cannot be processed because either too many accounts have been created on this instance in the last 24h, or the pending account backlog is full.
"500":
description: internal server error
security: