diff options
author | tusooa <tusooa@kazv.moe> | 2023-07-04 02:46:10 +0000 |
---|---|---|
committer | tusooa <tusooa@kazv.moe> | 2023-07-04 02:46:10 +0000 |
commit | 7da6a82dbd16a76d8a761118d22f336409d16bd2 (patch) | |
tree | 926e3809c3f3c8f3f69eaa0d13c6fecc20860faf /lib | |
parent | 624a5ccb2ec81105d8dd73444756f8f791543d07 (diff) | |
parent | 3d79ceb23a3dc9630d38807cf6e8a62a56f29d3b (diff) | |
download | pleroma-7da6a82dbd16a76d8a761118d22f336409d16bd2.tar.gz pleroma-7da6a82dbd16a76d8a761118d22f336409d16bd2.zip |
Merge branch 'deprecate-scrobbles' into 'develop'
Deprecate audio scrobbling
See merge request pleroma/pleroma!3919
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/pleroma_scrobble_operation.ex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/web/api_spec/operations/pleroma_scrobble_operation.ex b/lib/pleroma/web/api_spec/operations/pleroma_scrobble_operation.ex index b6273bfcf..ca40da930 100644 --- a/lib/pleroma/web/api_spec/operations/pleroma_scrobble_operation.ex +++ b/lib/pleroma/web/api_spec/operations/pleroma_scrobble_operation.ex @@ -22,6 +22,7 @@ defmodule Pleroma.Web.ApiSpec.PleromaScrobbleOperation do summary: "Creates a new Listen activity for an account", security: [%{"oAuth" => ["write"]}], operationId: "PleromaAPI.ScrobbleController.create", + deprecated: true, requestBody: request_body("Parameters", create_request(), requried: true), responses: %{ 200 => Operation.response("Scrobble", "application/json", scrobble()) @@ -34,6 +35,7 @@ defmodule Pleroma.Web.ApiSpec.PleromaScrobbleOperation do tags: ["Scrobbles"], summary: "Requests a list of current and recent Listen activities for an account", operationId: "PleromaAPI.ScrobbleController.index", + deprecated: true, parameters: [ %Reference{"$ref": "#/components/parameters/accountIdOrNickname"} | pagination_params() ], |