MastoAPI: accept notify param in follow request
[akkoma] / lib / pleroma / web / api_spec / operations / account_operation.ex
index 08d68893a3028f305687238694377a630fb75468..cb978c775bfeb9c008168277ffc24bc65aa7b64b 100644 (file)
@@ -226,6 +226,12 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
                 type: :boolean,
                 description: "Receive this account's reblogs in home timeline? Defaults to true.",
                 default: true
+              },
+              notify: %Schema{
+                type: :boolean,
+                description:
+                  "Receive notifications for all statuses posted by the account? Defaults to false.",
+                default: false
               }
             }
           },
@@ -482,7 +488,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
         access_token: %Schema{type: :string},
         refresh_token: %Schema{type: :string},
         scope: %Schema{type: :string},
-        created_at: %Schema{type: :string, format: :"date-time"},
+        created_at: %Schema{type: :integer, format: :"date-time"},
         me: %Schema{type: :string},
         expires_in: %Schema{type: :integer},
         #