summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-04-11 11:45:53 +0200
committerLibravatar GitHub <noreply@github.com>2024-04-11 11:45:53 +0200
commit9fb8a78f91adffd5f4d28df1270e407c25a7a16e (patch)
treed68200744e28d07e75a52bb0c9f6593c86a38a91 /docs/api
parent[performance] massively improved ActivityPub delivery worker efficiency (#2812) (diff)
downloadgotosocial-9fb8a78f91adffd5f4d28df1270e407c25a7a16e.tar.xz
[feature] New user sign-up via web page (#2796)
* [feature] User sign-up form and admin notifs * add chosen + filtered languages to migration * remove stray comment * chosen languages schmosen schmanguages * proper error on local account missing
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: