logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git

visibility_scope.ex (430B)


  1. # Pleroma: A lightweight social networking server
  2. # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
  3. # SPDX-License-Identifier: AGPL-3.0-only
  4. defmodule Pleroma.Web.ApiSpec.Schemas.VisibilityScope do
  5. require OpenApiSpex
  6. OpenApiSpex.schema(%{
  7. title: "VisibilityScope",
  8. description: "Status visibility",
  9. type: :string,
  10. enum: ["public", "unlisted", "local", "private", "direct", "list"]
  11. })
  12. end