diff options
author | tusooa <tusooa@kazv.moe> | 2023-04-27 02:56:19 +0000 |
---|---|---|
committer | tusooa <tusooa@kazv.moe> | 2023-04-27 02:56:19 +0000 |
commit | 248f914e6eb33bc22089f00175d0bc0da9d27eb0 (patch) | |
tree | 84414b7604368408d031d2136c4e716aca74db64 /lib/pleroma/web/api_spec/operations/admin | |
parent | ddf57596be8f67abd8ac81fa9a9a1ca84321e7ad (diff) | |
parent | 6a63dced4a567e0ba84c3c1e796eff93ba015255 (diff) | |
download | pleroma-248f914e6eb33bc22089f00175d0bc0da9d27eb0.tar.gz pleroma-248f914e6eb33bc22089f00175d0bc0da9d27eb0.zip |
Merge branch 'list-installed-frontends' into 'develop'
List installed frontend refs in admin API
See merge request pleroma/pleroma!3862
Diffstat (limited to 'lib/pleroma/web/api_spec/operations/admin')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/admin/frontend_operation.ex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/pleroma/web/api_spec/operations/admin/frontend_operation.ex b/lib/pleroma/web/api_spec/operations/admin/frontend_operation.ex index 4bfe5ac5a..3e85c44d2 100644 --- a/lib/pleroma/web/api_spec/operations/admin/frontend_operation.ex +++ b/lib/pleroma/web/api_spec/operations/admin/frontend_operation.ex @@ -51,8 +51,9 @@ defmodule Pleroma.Web.ApiSpec.Admin.FrontendOperation do name: %Schema{type: :string}, git: %Schema{type: :string, format: :uri, nullable: true}, build_url: %Schema{type: :string, format: :uri, nullable: true}, - ref: %Schema{type: :string}, - installed: %Schema{type: :boolean} + ref: %Schema{type: :string, nullable: true}, + installed: %Schema{type: :boolean}, + installed_refs: %Schema{type: :array, items: %Schema{type: :string}} } } } |