projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make backups require its own scope (#218)
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
pleroma_backup_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/pleroma_backup_operation.ex
b/lib/pleroma/web/api_spec/operations/pleroma_backup_operation.ex
index c78e9780f7ee3bd1afe246aee251ad210d0d3c2c..9af556736c544d426348c7590f7854bdb1fad1f4 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/pleroma_backup_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/pleroma_backup_operation.ex
@@
-16,7
+16,7
@@
defmodule Pleroma.Web.ApiSpec.PleromaBackupOperation do
%Operation{
tags: ["Backups"],
summary: "List backups",
%Operation{
tags: ["Backups"],
summary: "List backups",
- security: [%{"oAuth" => ["read:
account
"]}],
+ security: [%{"oAuth" => ["read:
backups
"]}],
operationId: "PleromaAPI.BackupController.index",
responses: %{
200 =>
operationId: "PleromaAPI.BackupController.index",
responses: %{
200 =>
@@
-37,7
+37,7
@@
defmodule Pleroma.Web.ApiSpec.PleromaBackupOperation do
%Operation{
tags: ["Backups"],
summary: "Create a backup",
%Operation{
tags: ["Backups"],
summary: "Create a backup",
- security: [%{"oAuth" => ["read:
account
"]}],
+ security: [%{"oAuth" => ["read:
backups
"]}],
operationId: "PleromaAPI.BackupController.create",
responses: %{
200 =>
operationId: "PleromaAPI.BackupController.create",
responses: %{
200 =>