A set of utilities for working with the AT Protocol in Elixir.
1defmodule Sh.Comet.V0.Feed.GetActorTracks do 2 use Atex.Lexicon 3 4 deflexicon(%{ 5 "defs" => %{ 6 "main" => %{ 7 "description" => "Get a list of an actor's tracks.", 8 "output" => %{ 9 "encoding" => "application/json", 10 "schema" => %{ 11 "properties" => %{ 12 "cursor" => %{"type" => "string"}, 13 "tracks" => %{ 14 "items" => %{ 15 "ref" => "sh.comet.v0.feed.track#view", 16 "type" => "ref" 17 }, 18 "type" => "array" 19 } 20 }, 21 "required" => ["tracks"], 22 "type" => "object" 23 } 24 }, 25 "parameters" => %{ 26 "properties" => %{ 27 "actor" => %{"format" => "at-identifier", "type" => "string"}, 28 "cursor" => %{"type" => "string"}, 29 "limit" => %{ 30 "default" => 50, 31 "maximum" => 100, 32 "minimum" => 1, 33 "type" => "integer" 34 } 35 }, 36 "required" => ["actor"], 37 "type" => "params" 38 }, 39 "type" => "query" 40 } 41 }, 42 "id" => "sh.comet.v0.feed.getActorTracks", 43 "lexicon" => 1 44 }) 45end