Add API to join and leave an event

This commit is contained in:
Chocobozzz
2019-02-01 15:38:35 +01:00
committed by Thomas Citharel
parent 421fbda9fa
commit 250f0b3bd1
12 changed files with 430 additions and 74 deletions

View File

@@ -12,7 +12,7 @@ defmodule MobilizonWeb.Schema.ActorInterface do
@desc "An ActivityPub actor"
interface :actor do
field(:id, :id, description: "Internal ID for this actor")
field(:id, :integer, description: "Internal ID for this actor")
field(:url, :string, description: "The ActivityPub actor's URL")
field(:type, :actor_type, description: "The type of Actor (Person, Group,…)")
field(:name, :string, description: "The actor's displayed name")