From e0f0d320f6d8e005058f7d491d0b81e06649569b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=90=E5=92=96=E5=85=B5=E7=B3=96?= <1916421725@qq.com> Date: Wed, 4 Oct 2023 20:19:24 +0800 Subject: [PATCH] [docs] statuses-query-pinned #2250 (#2251) --- docs/api/swagger.yaml | 2 +- internal/api/client/accounts/statuses.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index d3069866f..120513a0c 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -3305,7 +3305,7 @@ paths: - default: false description: Show only pinned statuses. In other words, exclude statuses that are not pinned to the given account ID. in: query - name: pinned_only + name: pinned type: boolean - default: false description: Show only statuses with media attachments. diff --git a/internal/api/client/accounts/statuses.go b/internal/api/client/accounts/statuses.go index 86a6d63cf..867788501 100644 --- a/internal/api/client/accounts/statuses.go +++ b/internal/api/client/accounts/statuses.go @@ -86,7 +86,7 @@ import ( // in: query // required: false // - -// name: pinned_only +// name: pinned // type: boolean // description: Show only pinned statuses. In other words, exclude statuses that are not pinned to the given account ID. // default: false