summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-02-20 18:50:54 +0100
committerLibravatar GitHub <noreply@github.com>2024-02-20 17:50:54 +0000
commit8cafa6b74b81fd8f0e5730007acdabd4c4e98944 (patch)
treebdea20d2bf47ed76c95b3f98e735d87112cc1e95 /docs/api
parent[bugfix] use start + end line in regex when validating emoji via API (#2671) (diff)
downloadgotosocial-8cafa6b74b81fd8f0e5730007acdabd4c4e98944.tar.xz
[feature] Add `requested_by` to relationship model (#2672)
* [feature] Add `requested_by` to relationship model * whoops, missed some tests
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/swagger.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml
index 7f0e2e1f9..2c4e88f2d 100644
--- a/docs/api/swagger.yaml
+++ b/docs/api/swagger.yaml
@@ -345,6 +345,10 @@ definitions:
description: You have requested to follow this account, and the request is pending.
type: boolean
x-go-name: Requested
+ requested_by:
+ description: This account has requested to follow you, and the request is pending.
+ type: boolean
+ x-go-name: RequestedBy
showing_reblogs:
description: You are seeing reblogs/boosts from this account in your home timeline.
type: boolean
@@ -1487,7 +1491,10 @@ definitions:
additionalProperties:
format: int64
type: integer
- description: 'Statistics about the instance: number of posts, accounts, etc.'
+ description: |-
+ Statistics about the instance: number of posts, accounts, etc.
+ Values are pointers because we don't want to skip 0 values when
+ rendering stats via web templates.
type: object
x-go-name: Stats
terms:
@@ -3648,6 +3655,7 @@ paths:
post:
consumes:
- multipart/form-data
+ description: NOT IMPLEMENTED YET!
operationId: accountMove
parameters:
- description: Password of the account user, for confirmation.