Merge branch '1851-favorites-pagination' into 'develop'
StatusController: Correctly paginate favorites. Closes #1851 See merge request pleroma/pleroma!2636
This commit is contained in:
commit
271ea5068f
5 changed files with 70 additions and 32 deletions
|
|
@ -333,7 +333,8 @@ defmodule Pleroma.Web.ApiSpec.StatusOperation do
|
|||
%Operation{
|
||||
tags: ["Statuses"],
|
||||
summary: "Favourited statuses",
|
||||
description: "Statuses the user has favourited",
|
||||
description:
|
||||
"Statuses the user has favourited. Please note that you have to use the link headers to paginate this. You can not build the query parameters yourself.",
|
||||
operationId: "StatusController.favourites",
|
||||
parameters: pagination_params(),
|
||||
security: [%{"oAuth" => ["read:favourites"]}],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue