From 8cafa6b74b81fd8f0e5730007acdabd4c4e98944 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 20 Feb 2024 18:50:54 +0100 Subject: [feature] Add `requested_by` to relationship model (#2672) * [feature] Add `requested_by` to relationship model * whoops, missed some tests --- docs/api/swagger.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/api') 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. -- cgit v1.2.3