projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
purge chat and shout endpoints
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
timeline_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/timeline_operation.ex
b/lib/pleroma/web/api_spec/operations/timeline_operation.ex
index 01396642c6776d60ac1c2db5d3d5feabcc457471..d375c76b8a1fa953d633d25c387b2a402f6c54e1 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/timeline_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/timeline_operation.ex
@@
-43,8
+43,7
@@
defmodule Pleroma.Web.ApiSpec.TimelineOperation do
tags: ["Timelines"],
summary: "Direct timeline",
description:
tags: ["Timelines"],
summary: "Direct timeline",
description:
- "View statuses with a “direct” privacy, from your account or in your notifications",
- deprecated: true,
+ "View statuses with a “direct” scope addressed to the account. Using this endpoint is discouraged, please use [conversations](#tag/Conversations).",
parameters: [with_muted_param() | pagination_params()],
security: [%{"oAuth" => ["read:statuses"]}],
operationId: "TimelineController.direct",
parameters: [with_muted_param() | pagination_params()],
security: [%{"oAuth" => ["read:statuses"]}],
operationId: "TimelineController.direct",
@@
-116,7
+115,8
@@
defmodule Pleroma.Web.ApiSpec.TimelineOperation do
],
operationId: "TimelineController.hashtag",
responses: %{
],
operationId: "TimelineController.hashtag",
responses: %{
- 200 => Operation.response("Array of Status", "application/json", array_of_statuses())
+ 200 => Operation.response("Array of Status", "application/json", array_of_statuses()),
+ 401 => Operation.response("Error", "application/json", ApiError)
}
}
end
}
}
end