1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.ApiSpec.Schemas.MarkersResponse do
7 alias OpenApiSpex.Schema
9 alias Pleroma.Web.ApiSpec.Schemas.Marker
12 title: "MarkersResponse",
13 description: "Response schema for markers",
16 notifications: %Schema{allOf: [Marker], nullable: true},
17 home: %Schema{allOf: [Marker], nullable: true}
19 items: %Schema{type: :string},
22 "last_read_id" => "35098814",
24 "updated_at" => "2019-11-26T22:37:25.239Z",
25 "pleroma" => %{"unread_count" => 0}
28 "last_read_id" => "103206604258487607",
30 "updated_at" => "2019-11-26T22:37:25.235Z",
31 "pleroma" => %{"unread_count" => 10}