2019-07-26 09:30:28 +00:00
|
|
|
|
# source: http://localhost:4000/api
|
2020-02-18 07:57:00 +00:00
|
|
|
|
# timestamp: Tue May 05 2020 17:26:14 GMT+0200 (heure d’été d’Europe centrale)
|
2019-04-26 13:22:16 +00:00
|
|
|
|
|
|
|
|
|
schema {
|
2019-07-26 09:30:28 +00:00
|
|
|
|
query: RootQueryType
|
|
|
|
|
mutation: RootMutationType
|
2019-12-03 10:29:51 +00:00
|
|
|
|
subscription: RootSubscriptionType
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
An action log
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
type ActionLog {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The action that was done
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
action: ActionLogAction
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor that acted
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
actor: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this comment
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The time when the action was performed
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
insertedAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The object that was acted upon
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
object: ActionLogObject
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-09 07:31:08 +00:00
|
|
|
|
enum ActionLogAction {
|
2019-12-03 10:29:51 +00:00
|
|
|
|
COMMENT_DELETION
|
2019-09-09 07:31:08 +00:00
|
|
|
|
EVENT_DELETION
|
|
|
|
|
EVENT_UPDATE
|
|
|
|
|
NOTE_CREATION
|
|
|
|
|
NOTE_DELETION
|
|
|
|
|
REPORT_UPDATE_CLOSED
|
|
|
|
|
REPORT_UPDATE_OPENED
|
|
|
|
|
REPORT_UPDATE_RESOLVED
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The objects that can be in an action log
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
interface ActionLogObject {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this object
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
id: ID
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub actor
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
interface Actor {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's avatar picture
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
avatar: Picture
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's banner picture
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
banner: Picture
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's domain if (null if it's this instance)
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
domain: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
List of followers
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
followers: [Follower]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Number of followers for this actor
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
followersCount: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
List of followings
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
following: [Follower]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Number of actors following this actor
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
followingCount: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this actor
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
id: ID
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
If the actor is from this instance
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
local: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether the actors manually approves followers
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
manuallyApprovesFollowers: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's displayed name
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
name: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's preferred username
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
preferredUsername: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's summary
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
summary: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
If the actor is suspended
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
suspended: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The type of Actor (Person, Group,…)
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
type: ActorType
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The ActivityPub actor's URL
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
url: String
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of types an actor can be
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
enum ActorType {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub Application
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
APPLICATION
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub Group
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
GROUP
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub Organization
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
ORGANIZATION
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub Person
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
PERSON
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub Service
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
SERVICE
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Address {
|
2019-07-26 09:30:28 +00:00
|
|
|
|
country: String
|
|
|
|
|
description: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The geocoordinates for the point where this address is
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
geom: Point
|
2019-09-09 07:31:08 +00:00
|
|
|
|
id: ID
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The address's locality
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
locality: String
|
2019-08-22 13:57:44 +00:00
|
|
|
|
originId: String
|
2019-07-26 09:30:28 +00:00
|
|
|
|
postalCode: String
|
|
|
|
|
region: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The address's street name (with number)
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
street: String
|
2019-11-08 18:37:14 +00:00
|
|
|
|
type: String
|
2019-07-30 14:40:59 +00:00
|
|
|
|
url: String
|
2019-07-26 09:30:28 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-07-30 08:35:29 +00:00
|
|
|
|
input AddressInput {
|
|
|
|
|
country: String
|
|
|
|
|
description: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The geocoordinates for the point where this address is
|
|
|
|
|
"""
|
2019-07-30 08:35:29 +00:00
|
|
|
|
geom: Point
|
2019-09-09 07:31:08 +00:00
|
|
|
|
id: ID
|
2019-07-30 08:35:29 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The address's locality
|
|
|
|
|
"""
|
2019-07-30 08:35:29 +00:00
|
|
|
|
locality: String
|
2019-08-22 13:57:44 +00:00
|
|
|
|
originId: String
|
2019-07-30 08:35:29 +00:00
|
|
|
|
postalCode: String
|
|
|
|
|
region: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The address's street name (with number)
|
|
|
|
|
"""
|
2019-07-30 08:35:29 +00:00
|
|
|
|
street: String
|
2019-11-08 18:37:14 +00:00
|
|
|
|
type: String
|
2019-07-30 14:40:59 +00:00
|
|
|
|
url: String
|
2019-07-30 08:35:29 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-20 12:04:34 +00:00
|
|
|
|
type AdminSettings {
|
|
|
|
|
instanceDescription: String
|
|
|
|
|
instanceName: String
|
|
|
|
|
instanceTerms: String
|
|
|
|
|
instanceTermsType: InstanceTermsType
|
|
|
|
|
instanceTermsUrl: String
|
|
|
|
|
registrationsOpen: Boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Anonymous {
|
|
|
|
|
actorId: ID
|
|
|
|
|
eventCreation: AnonymousEventCreation
|
|
|
|
|
participation: AnonymousParticipation
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AnonymousEventCreation {
|
|
|
|
|
allowed: Boolean
|
|
|
|
|
validation: AnonymousEventCreationValidation
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AnonymousEventCreationValidation {
|
|
|
|
|
captcha: AnonymousEventCreationValidationCaptcha
|
|
|
|
|
email: AnonymousEventCreationValidationEmail
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AnonymousEventCreationValidationCaptcha {
|
|
|
|
|
enabled: Boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AnonymousEventCreationValidationEmail {
|
|
|
|
|
confirmationRequired: Boolean
|
|
|
|
|
enabled: Boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AnonymousParticipation {
|
|
|
|
|
allowed: Boolean
|
|
|
|
|
validation: AnonymousParticipationValidation
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AnonymousParticipationValidation {
|
|
|
|
|
captcha: AnonymousParticipationValidationCaptcha
|
|
|
|
|
email: AnonymousParticipationValidationEmail
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AnonymousParticipationValidationCaptcha {
|
|
|
|
|
enabled: Boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type AnonymousParticipationValidationEmail {
|
|
|
|
|
confirmationRequired: Boolean
|
|
|
|
|
enabled: Boolean
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-03 10:29:51 +00:00
|
|
|
|
"""
|
|
|
|
|
Represents an application
|
|
|
|
|
"""
|
|
|
|
|
type Application implements Actor {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's avatar picture
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
avatar: Picture
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's banner picture
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
banner: Picture
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's domain if (null if it's this instance)
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
domain: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
List of followers
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
followers: [Follower]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Number of followers for this actor
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
followersCount: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
List of followings
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
following: [Follower]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Number of actors following this actor
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
followingCount: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this application
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
If the actor is from this instance
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
local: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether the actors manually approves followers
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
manuallyApprovesFollowers: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's displayed name
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
name: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's preferred username
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
preferredUsername: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's summary
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
summary: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
If the actor is suspended
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
suspended: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The type of Actor (Person, Group,…)
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
type: ActorType
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The ActivityPub actor's URL
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
url: String
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A comment
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
type Comment implements ActionLogObject {
|
2019-11-15 17:36:47 +00:00
|
|
|
|
actor: Person
|
|
|
|
|
deletedAt: DateTime
|
|
|
|
|
event: Event
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this comment
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
id: ID
|
2019-11-15 17:36:47 +00:00
|
|
|
|
inReplyToComment: Comment
|
|
|
|
|
insertedAt: DateTime
|
2019-07-26 09:30:28 +00:00
|
|
|
|
local: Boolean
|
2019-11-15 17:36:47 +00:00
|
|
|
|
originComment: Comment
|
2019-07-26 09:30:28 +00:00
|
|
|
|
primaryLanguage: String
|
|
|
|
|
replies: [Comment]
|
|
|
|
|
text: String
|
|
|
|
|
threadLanguages: [String]!
|
2019-11-15 17:36:47 +00:00
|
|
|
|
totalReplies: Int
|
|
|
|
|
updatedAt: DateTime
|
2019-07-26 09:30:28 +00:00
|
|
|
|
url: String
|
|
|
|
|
uuid: UUID
|
|
|
|
|
visibility: CommentVisibility
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of visibility options for a comment
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
enum CommentVisibility {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
visible only to people invited
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
INVITE
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Visible only after a moderator accepted
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
MODERATED
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Visible only to people members of the group or followers of the person
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
PRIVATE
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Publicly listed and federated. Can be shared.
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
PUBLIC
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Visible only to people with the link - or invited
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
UNLISTED
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A config object
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type Config {
|
2019-12-20 12:04:34 +00:00
|
|
|
|
anonymous: Anonymous
|
2019-11-08 18:37:14 +00:00
|
|
|
|
countryCode: String
|
2019-11-21 15:07:43 +00:00
|
|
|
|
demoMode: Boolean
|
2019-07-26 09:30:28 +00:00
|
|
|
|
description: String
|
2019-11-20 12:49:57 +00:00
|
|
|
|
geocoding: Geocoding
|
2019-11-08 18:37:14 +00:00
|
|
|
|
location: Lonlat
|
2019-11-20 12:49:57 +00:00
|
|
|
|
maps: Maps
|
2019-07-26 09:30:28 +00:00
|
|
|
|
name: String
|
|
|
|
|
registrationsOpen: Boolean
|
2019-12-17 11:09:24 +00:00
|
|
|
|
registrationsWhitelist: Boolean
|
2020-02-18 07:57:00 +00:00
|
|
|
|
resourceProviders: [ResourceProvider]
|
2019-12-20 12:04:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The instance's terms
|
|
|
|
|
"""
|
2019-12-20 12:04:34 +00:00
|
|
|
|
terms(locale: String = "en"): Terms
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A discussion
|
|
|
|
|
"""
|
|
|
|
|
type discussion {
|
2020-02-18 07:57:00 +00:00
|
|
|
|
actor: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The comments for the discussion
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
comments(limit: Int = 10, page: Int = 1): PaginatedCommentList
|
|
|
|
|
creator: Person
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this discussion
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
id: ID
|
|
|
|
|
insertedAt: DateTime
|
|
|
|
|
lastComment: Comment
|
|
|
|
|
slug: String
|
|
|
|
|
title: String
|
|
|
|
|
updatedAt: DateTime
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-09 07:31:08 +00:00
|
|
|
|
type Dashboard {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Last public event publish
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
lastPublicEventPublished: Event
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of local comments
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
numberOfComments: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of local events
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
numberOfEvents: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of current opened reports
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
numberOfReports: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of local users
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
numberOfUsers: Int
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-26 09:30:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The `DateTime` scalar type represents a date and time in the UTC
|
|
|
|
|
timezone. The DateTime appears in a JSON response as an ISO8601 formatted
|
|
|
|
|
string, including UTC timezone ("Z"). The parsed date and time string will
|
|
|
|
|
be converted to UTC and any UTC offset other than 0 will be rejected.
|
|
|
|
|
"""
|
|
|
|
|
scalar DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Represents a deleted feed_token
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type DeletedFeedToken {
|
2019-07-26 09:30:28 +00:00
|
|
|
|
actor: DeletedObject
|
|
|
|
|
user: DeletedObject
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Represents a deleted member
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type DeletedMember {
|
2019-07-26 09:30:28 +00:00
|
|
|
|
actor: DeletedObject
|
|
|
|
|
parent: DeletedObject
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A struct containing the id of the deleted object
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type DeletedObject {
|
2019-09-09 07:31:08 +00:00
|
|
|
|
id: ID
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Represents a deleted participant
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type DeletedParticipant {
|
2019-07-26 09:30:28 +00:00
|
|
|
|
actor: DeletedObject
|
|
|
|
|
event: DeletedObject
|
2019-09-20 16:22:03 +00:00
|
|
|
|
id: ID
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
An event
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
type Event implements ActionLogObject {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Who the event is attributed to (often a group)
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
attributedTo: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Datetime for when the event begins
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
beginsOn: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event's category
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
category: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The comments in reply to the event
|
|
|
|
|
"""
|
2019-11-15 17:36:47 +00:00
|
|
|
|
comments: [Comment]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
When the event was created
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
createdAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event's description
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
description: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether or not the event is a draft
|
|
|
|
|
"""
|
2019-10-02 15:59:07 +00:00
|
|
|
|
draft: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Datetime for when the event ends
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
endsOn: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this event
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
id: ID
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event's visibility
|
|
|
|
|
"""
|
2019-09-20 16:22:03 +00:00
|
|
|
|
joinOptions: EventJoinOptions
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether the event is local or not
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
local: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Online address of the event
|
|
|
|
|
"""
|
2019-09-09 09:21:42 +00:00
|
|
|
|
onlineAddress: String
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event options
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
options: EventOptions
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event's organizer (as a person)
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
organizerActor: Actor
|
2019-09-11 14:37:30 +00:00
|
|
|
|
participantStats: ParticipantStats
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event's participants
|
|
|
|
|
"""
|
|
|
|
|
participants(
|
|
|
|
|
actorId: ID
|
|
|
|
|
limit: Int = 10
|
|
|
|
|
page: Int = 1
|
|
|
|
|
roles: String = ""
|
|
|
|
|
): PaginatedParticipantList
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Phone address for the event
|
|
|
|
|
"""
|
2019-09-09 09:21:42 +00:00
|
|
|
|
phoneAddress: String
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The type of the event's address
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
physicalAddress: Address
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event's picture
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
picture: Picture
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
When the event was published
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
publishAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Events related to this one
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
relatedEvents: [Event]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event's description's slug
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
slug: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Status of the event
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
status: EventStatus
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event's tags
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
tags: [Tag]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event's title
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
title: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
When the event was last updated
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
updatedAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The ActivityPub Event URL
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
url: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The Event UUID
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
uuid: UUID
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event's visibility
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
visibility: EventVisibility
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of possible options for the event's status
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
enum EventCommentModeration {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Anyone can comment under the event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
ALLOW_ALL
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
No one can comment except for the admin
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
CLOSED
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Every comment has to be moderated by the admin
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
MODERATED
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of join options for an event
|
|
|
|
|
"""
|
2019-09-20 16:22:03 +00:00
|
|
|
|
enum EventJoinOptions {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Anyone can join and is automatically accepted
|
|
|
|
|
"""
|
2019-09-20 16:22:03 +00:00
|
|
|
|
FREE
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Participants must be invited
|
|
|
|
|
"""
|
2019-09-20 16:22:03 +00:00
|
|
|
|
INVITE
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Manual acceptation
|
|
|
|
|
"""
|
2019-09-20 16:22:03 +00:00
|
|
|
|
RESTRICTED
|
|
|
|
|
}
|
|
|
|
|
|
2019-08-28 09:28:27 +00:00
|
|
|
|
type EventOffer {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The price amount for this offer
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
price: Float
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The currency for this price offer
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
priceCurrency: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The URL to access to this offer
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
url: String
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input EventOfferInput {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The price amount for this offer
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
price: Float
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The currency for this price offer
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
priceCurrency: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The URL to access to this offer
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
url: String
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type EventOptions {
|
2019-12-20 12:04:34 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether or not to allow anonymous participation (if the server allows it)
|
|
|
|
|
"""
|
|
|
|
|
anonymousParticipation: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of special attendees
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
attendees: [String]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The policy on public comment moderation under the event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
commentModeration: EventCommentModeration
|
|
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether to show or hide the person organizer when event is organized by a group
|
|
|
|
|
"""
|
|
|
|
|
hideOrganizerWhenGroupEvent: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The maximum attendee capacity for this event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
maximumAttendeeCapacity: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of offers to show for this event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
offers: [EventOffer]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of participation conditions to accept to join this event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
participationConditions: [EventParticipationCondition]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of the event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
program: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of remaining seats for this event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
remainingAttendeeCapacity: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Show event end time
|
|
|
|
|
"""
|
2019-10-14 17:29:18 +00:00
|
|
|
|
showEndTime: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether or not to show the participation price
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
showParticipationPrice: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether or not to show the number of remaining seats for this event
|
|
|
|
|
"""
|
|
|
|
|
showRemainingAttendeeCapacity: Boolean
|
2019-10-14 17:29:18 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Show event start time
|
|
|
|
|
"""
|
2019-10-14 17:29:18 +00:00
|
|
|
|
showStartTime: Boolean
|
2019-08-28 09:28:27 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input EventOptionsInput {
|
2019-12-20 12:04:34 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether or not to allow anonymous participation (if the server allows it)
|
|
|
|
|
"""
|
2020-02-13 14:48:12 +00:00
|
|
|
|
anonymousParticipation: Boolean = false
|
2019-12-20 12:04:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of special attendees
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
attendees: [String]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The policy on public comment moderation under the event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
commentModeration: EventCommentModeration
|
|
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether to show or hide the person organizer when event is organized by a group
|
|
|
|
|
"""
|
|
|
|
|
hideOrganizerWhenGroupEvent: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The maximum attendee capacity for this event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
maximumAttendeeCapacity: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of offers to show for this event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
offers: [EventOfferInput]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of participation conditions to accept to join this event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
participationConditions: [EventParticipationConditionInput]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of the event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
program: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of remaining seats for this event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
remainingAttendeeCapacity: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Show event end time
|
|
|
|
|
"""
|
2019-10-14 17:29:18 +00:00
|
|
|
|
showEndTime: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether or not to show the participation price
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
showParticipationPrice: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether or not to show the number of remaining seats for this event
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
showRemainingAttendeeCapacity: Boolean
|
2019-10-14 17:29:18 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Show event start time
|
|
|
|
|
"""
|
2019-10-14 17:29:18 +00:00
|
|
|
|
showStartTime: Boolean
|
2019-08-28 09:28:27 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type EventParticipationCondition {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The content for this condition
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
content: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The title for this condition
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
title: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The URL to access this condition
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
url: String
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input EventParticipationConditionInput {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The content for this condition
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
content: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The title for this condition
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
title: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The URL to access this condition
|
|
|
|
|
"""
|
2019-08-28 09:28:27 +00:00
|
|
|
|
url: String
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Search events result
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type Events {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Event elements
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
elements: [Event]!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Total elements
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
total: Int!
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of possible options for the event's status
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
enum EventStatus {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event is cancelled
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
CANCELLED
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event is confirmed
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
CONFIRMED
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event is tentative
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
TENTATIVE
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of visibility options for an event
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
enum EventVisibility {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Visible only to people members of the group or followers of the person
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
PRIVATE
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Publicly listed and federated. Can be shared.
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
PUBLIC
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Visible only after a moderator accepted
|
|
|
|
|
"""
|
2019-09-20 16:22:03 +00:00
|
|
|
|
RESTRICTED
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Visible only to people with the link - or invited
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
UNLISTED
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Represents a participant to an event
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type FeedToken {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event which the actor participates in
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
actor: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The role of this actor at this event
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
token: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor that participates to the event
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
user: User
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
Represents an actor's follower
|
|
|
|
|
"""
|
|
|
|
|
type Follower {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Which profile follows
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
actor: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether the follow has been approved by the target actor
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
approved: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
When the follow was created
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
insertedAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
What or who the profile follows
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
targetActor: Actor
|
2019-12-03 10:29:51 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
When the follow was updated
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
updatedAt: DateTime
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-11-20 12:49:57 +00:00
|
|
|
|
type Geocoding {
|
|
|
|
|
autocomplete: Boolean
|
|
|
|
|
provider: String
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-26 13:22:16 +00:00
|
|
|
|
"""
|
|
|
|
|
Represents a group of actors
|
|
|
|
|
"""
|
|
|
|
|
type Group implements Actor {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's avatar picture
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
avatar: Picture
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's banner picture
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
banner: Picture
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of the discussions for this group
|
|
|
|
|
"""
|
|
|
|
|
discussions: PaginatedDiscussionList
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's domain if (null if it's this instance)
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
domain: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
List of followers
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
followers: [Follower]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Number of followers for this actor
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
followersCount: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
List of followings
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
following: [Follower]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Number of actors following this actor
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
followingCount: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this group
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
id: ID
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
If the actor is from this instance
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
local: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether the actors manually approves followers
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
manuallyApprovesFollowers: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
List of group members
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
members: PaginatedMemberList
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's displayed name
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
name: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether the group is opened to all or has restricted access
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
openness: Openness
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of the events this actor has organized
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
organizedEvents: PaginatedEventList
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's preferred username
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
preferredUsername: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A paginated list of the resources this group has
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
resources(limit: Int = 10, page: Int = 1): PaginatedResourceList
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's summary
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
summary: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
If the actor is suspended
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
suspended: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A paginated list of the todo lists this group has
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
todoLists: PaginatedTodoListList
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The type of Actor (Person, Group,…)
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
type: ActorType
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The type of group : Group, Community,…
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
types: GroupType
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The ActivityPub actor's URL
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
url: String
|
2019-05-31 15:58:03 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Search groups result
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type Groups {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Group elements
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
elements: [Group]!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Total elements
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
total: Int!
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
The types of Group that exist
|
|
|
|
|
"""
|
|
|
|
|
enum GroupType {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A public group of many actors
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
COMMUNITY
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A private group of persons
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
GROUP
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-20 12:04:34 +00:00
|
|
|
|
enum InstanceTermsType {
|
|
|
|
|
CUSTOM
|
|
|
|
|
DEFAULT
|
|
|
|
|
URL
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A JWT and the associated user ID
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type Login {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A JWT Token for this session
|
|
|
|
|
"""
|
2019-08-21 09:25:09 +00:00
|
|
|
|
accessToken: String!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A JWT Token to refresh the access token
|
|
|
|
|
"""
|
2019-08-21 09:25:09 +00:00
|
|
|
|
refreshToken: String!
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The user associated to this session
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
user: User!
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-11-08 18:37:14 +00:00
|
|
|
|
type Lonlat {
|
|
|
|
|
accuracyRadius: Int
|
|
|
|
|
latitude: Float
|
|
|
|
|
longitude: Float
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-20 12:49:57 +00:00
|
|
|
|
type Maps {
|
|
|
|
|
tiles: Tiles
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-26 13:22:16 +00:00
|
|
|
|
"""
|
|
|
|
|
Represents a member of a group
|
|
|
|
|
"""
|
|
|
|
|
type Member {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Which profile is member of
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
actor: Person
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The member's ID
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Of which the profile is member
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
parent: Group
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The role of this membership
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
role: MemberRoleEnum
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
|
enum MemberRoleEnum {
|
|
|
|
|
ADMINISTRATOR
|
|
|
|
|
CREATOR
|
|
|
|
|
INVITED
|
|
|
|
|
MEMBER
|
|
|
|
|
MODERATOR
|
|
|
|
|
NOT_APPROVED
|
|
|
|
|
REJECTED
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
The `Naive DateTime` scalar type represents a naive date and time without
|
|
|
|
|
timezone. The DateTime appears in a JSON response as an ISO8601 formatted
|
|
|
|
|
string.
|
|
|
|
|
"""
|
|
|
|
|
scalar NaiveDateTime
|
|
|
|
|
|
2019-07-26 09:30:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Describes how an actor is opened to follows
|
|
|
|
|
"""
|
|
|
|
|
enum Openness {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor can only be followed by invitation
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
INVITE_ONLY
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor needs to accept the following before it's effective
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
MODERATED
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor is open to followings
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
OPEN
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
|
type PaginatedCommentList {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of comments
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
elements: [Comment]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The total number of comments in the list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
total: Int
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
type PaginatedDiscussionList {
|
|
|
|
|
"""
|
|
|
|
|
A list of discussion
|
|
|
|
|
"""
|
|
|
|
|
elements: [discussion]
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The total number of comments in the list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
total: Int
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type PaginatedEventList {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of events
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
elements: [Event]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The total number of events in the list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
total: Int
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-03 10:29:51 +00:00
|
|
|
|
type PaginatedFollowerList {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of followers
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
elements: [Follower]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The total number of elements in the list
|
|
|
|
|
"""
|
2019-12-03 10:29:51 +00:00
|
|
|
|
total: Int
|
|
|
|
|
}
|
|
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
|
type PaginatedGroupList {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of groups
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
elements: [Group]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The total number of elements in the list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
total: Int
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type PaginatedMemberList {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of members
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
elements: [Member]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The total number of elements in the list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
total: Int
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type PaginatedParticipantList {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of participants
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
elements: [Participant]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The total number of participants in the list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
total: Int
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type PaginatedResourceList {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of resources
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
elements: [Resource]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The total number of resources in the list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
total: Int
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type PaginatedTodoList {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of todos
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
elements: [Todo]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The total number of todos in the list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
total: Int
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type PaginatedTodoListList {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of todo lists
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
elements: [TodoList]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The total number of todo lists in the list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
total: Int
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Represents a participant to an event
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type Participant {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor that participates to the event
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
actor: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event which the actor participates in
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
event: Event
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The participation ID
|
|
|
|
|
"""
|
2019-09-20 16:22:03 +00:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The datetime this participant was created
|
|
|
|
|
"""
|
2020-03-05 18:32:34 +00:00
|
|
|
|
insertedAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The metadata associated to this participant
|
|
|
|
|
"""
|
2019-12-20 12:04:34 +00:00
|
|
|
|
metadata: ParticipantMetadata
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The role of this actor at this event
|
|
|
|
|
"""
|
2019-09-20 16:22:03 +00:00
|
|
|
|
role: ParticipantRoleEnum
|
|
|
|
|
}
|
|
|
|
|
|
2019-12-20 12:04:34 +00:00
|
|
|
|
type ParticipantMetadata {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The eventual token to leave an event when user is anonymous
|
|
|
|
|
"""
|
2019-12-20 12:04:34 +00:00
|
|
|
|
cancellationToken: String
|
2020-03-05 18:32:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The eventual message the participant left
|
|
|
|
|
"""
|
2020-03-05 18:32:34 +00:00
|
|
|
|
message: String
|
2019-12-20 12:04:34 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-20 16:22:03 +00:00
|
|
|
|
enum ParticipantRoleEnum {
|
|
|
|
|
ADMINISTRATOR
|
|
|
|
|
CREATOR
|
|
|
|
|
MODERATOR
|
|
|
|
|
NOT_APPROVED
|
2019-12-20 12:04:34 +00:00
|
|
|
|
NOT_CONFIRMED
|
2019-09-20 16:22:03 +00:00
|
|
|
|
PARTICIPANT
|
2019-09-30 11:48:47 +00:00
|
|
|
|
REJECTED
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-09-11 14:37:30 +00:00
|
|
|
|
type ParticipantStats {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of administrators
|
|
|
|
|
"""
|
2019-10-25 15:43:37 +00:00
|
|
|
|
administrator: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of creators
|
|
|
|
|
"""
|
2019-10-25 15:43:37 +00:00
|
|
|
|
creator: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of approved participants
|
|
|
|
|
"""
|
2019-10-25 15:43:37 +00:00
|
|
|
|
going: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of moderators
|
|
|
|
|
"""
|
2019-10-25 15:43:37 +00:00
|
|
|
|
moderator: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of not approved participants
|
|
|
|
|
"""
|
2019-10-25 15:43:37 +00:00
|
|
|
|
notApproved: Int
|
2019-09-11 14:37:30 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of not confirmed participants
|
|
|
|
|
"""
|
2019-12-20 12:04:34 +00:00
|
|
|
|
notConfirmed: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of simple participants (excluding creators)
|
|
|
|
|
"""
|
2019-10-25 15:43:37 +00:00
|
|
|
|
participant: Int
|
2019-10-11 09:54:57 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The number of rejected participants
|
|
|
|
|
"""
|
2019-09-30 11:48:47 +00:00
|
|
|
|
rejected: Int
|
2019-09-11 14:37:30 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-04-26 13:22:16 +00:00
|
|
|
|
"""
|
|
|
|
|
Represents a person identity
|
|
|
|
|
"""
|
|
|
|
|
type Person implements Actor {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's avatar picture
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
avatar: Picture
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's banner picture
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
banner: Picture
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's domain if (null if it's this instance)
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
domain: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of the feed tokens for this person
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
feedTokens: [FeedToken]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
List of followers
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
followers: [Follower]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Number of followers for this actor
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
followersCount: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
List of followings
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
following: [Follower]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Number of actors following this actor
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
followingCount: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this person
|
|
|
|
|
"""
|
|
|
|
|
id: ID
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
If the actor is from this instance
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
local: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether the actors manually approves followers
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
manuallyApprovesFollowers: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of groups this person is member of
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
memberOf: [Member]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of group this person is member of
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
memberships: PaginatedMemberList
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's displayed name
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
name: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of the events this actor has organized
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
organizedEvents: [Event]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of events this person goes to
|
|
|
|
|
"""
|
2019-09-26 14:38:58 +00:00
|
|
|
|
participations(eventId: ID): [Participant]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's preferred username
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
preferredUsername: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor's summary
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
summary: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
If the actor is suspended
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
suspended: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The type of Actor (Person, Group,…)
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
type: ActorType
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The ActivityPub actor's URL
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
url: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The user this actor is associated to
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
user: User
|
2019-05-31 15:58:03 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Search persons result
|
|
|
|
|
"""
|
2019-04-26 13:22:16 +00:00
|
|
|
|
type Persons {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Person elements
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
elements: [Person]!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Total elements
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
total: Int!
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A picture
|
|
|
|
|
"""
|
2019-05-22 12:12:11 +00:00
|
|
|
|
type Picture {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The picture's alternative text
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
alt: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The picture's detected content type
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
contentType: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The picture's ID
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The picture's name
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
name: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The picture's size
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
size: Int
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The picture's full URL
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
url: String
|
2019-05-22 12:12:11 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
An attached picture or a link to a picture
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
input PictureInput {
|
|
|
|
|
picture: PictureInputObject
|
2019-10-14 09:41:57 +00:00
|
|
|
|
pictureId: ID
|
2019-07-26 09:30:28 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
An attached picture
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
input PictureInputObject {
|
|
|
|
|
actorId: ID
|
|
|
|
|
alt: String
|
|
|
|
|
file: Upload!
|
|
|
|
|
name: String!
|
2019-05-22 12:12:11 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-04-26 13:22:16 +00:00
|
|
|
|
"""
|
2020-07-09 15:24:28 +00:00
|
|
|
|
The `Point` scalar type represents Point geographic information compliant string data,
|
2019-07-26 09:30:28 +00:00
|
|
|
|
represented as floats separated by a semi-colon. The geodetic system is WGS 84
|
2019-04-26 13:22:16 +00:00
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
scalar Point
|
2019-05-22 12:12:11 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Token
|
|
|
|
|
"""
|
2019-08-21 09:25:09 +00:00
|
|
|
|
type RefreshedToken {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Generated access token
|
|
|
|
|
"""
|
2019-08-21 09:25:09 +00:00
|
|
|
|
accessToken: String!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Generated refreshed token
|
|
|
|
|
"""
|
2019-08-21 09:25:09 +00:00
|
|
|
|
refreshToken: String!
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A report object
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
type Report implements ActionLogObject {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The comments that are reported
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
comments: [Comment]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The comment the reporter added about this report
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
content: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The event that is being reported
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
event: Event
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The internal ID of the report
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
When the report was created
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
insertedAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The notes made on the event
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
notes: [ReportNote]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor that is being reported
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
reported: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor that created the report
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
reporter: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Whether the report is still active
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
status: ReportStatus
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
When the report was updated
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
updatedAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The URI of the report
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
uri: String
|
2019-05-31 15:58:03 +00:00
|
|
|
|
}
|
2019-04-26 13:22:16 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A report note object
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
type ReportNote implements ActionLogObject {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The content of the note
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
content: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The internal ID of the report note
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
When the report note was created
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
insertedAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The moderator who added the note
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
moderator: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The report on which this note is added
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
report: Report
|
2019-05-31 15:58:03 +00:00
|
|
|
|
}
|
2019-05-22 12:12:11 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of possible statuses for a report object
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
enum ReportStatus {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The report has been closed
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
CLOSED
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The report has been opened
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
OPEN
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The report has been marked as resolved
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
RESOLVED
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A resource
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
type Resource {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's owner
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
actor: Actor
|
2019-12-20 12:04:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Children resources in folder
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
children: PaginatedResourceList
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's creator
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
creator: Actor
|
2019-12-03 10:29:51 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's ID
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
id: ID
|
2019-08-21 09:25:09 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's creation date
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
insertedAt: NaiveDateTime
|
2019-12-17 11:09:24 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's metadata
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
metadata: ResourceMetadata
|
2020-03-05 18:32:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's parent
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
parent: Resource
|
2020-03-05 18:32:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's path
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
path: String
|
2020-03-05 18:32:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's URL
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
resourceUrl: String
|
2019-12-03 10:29:51 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's summary
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
summary: String
|
2019-12-03 10:29:51 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's title
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
title: String
|
2020-03-05 18:32:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's type (if it's a folder)
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
type: String
|
2019-12-17 11:09:24 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's last update date
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
updatedAt: NaiveDateTime
|
2019-12-03 10:29:51 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's URL
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
url: String
|
|
|
|
|
}
|
2020-02-13 14:48:12 +00:00
|
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
|
type ResourceMetadata {
|
|
|
|
|
authorName: String
|
|
|
|
|
authorUrl: String
|
2020-02-13 14:48:12 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's metadata description
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
description: String
|
|
|
|
|
faviconUrl: String
|
|
|
|
|
height: Int
|
|
|
|
|
html: String
|
2020-02-13 14:48:12 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's metadata image
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
imageRemoteUrl: String
|
|
|
|
|
providerName: String
|
|
|
|
|
providerUrl: String
|
2019-12-03 10:29:51 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The resource's metadata title
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
title: String
|
2019-12-03 10:29:51 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The type of the resource
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
type: String
|
|
|
|
|
width: Int
|
|
|
|
|
}
|
2020-02-13 14:48:12 +00:00
|
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
|
type ResourceProvider {
|
|
|
|
|
endpoint: String
|
|
|
|
|
software: String
|
|
|
|
|
type: String
|
|
|
|
|
}
|
2020-02-13 14:48:12 +00:00
|
|
|
|
|
2020-02-18 07:57:00 +00:00
|
|
|
|
type RootMutationType {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create an user
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
createUser(email: String!, locale: String, password: String!): User
|
2019-12-20 12:04:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Register a first profile on registration
|
|
|
|
|
"""
|
2019-12-20 12:04:34 +00:00
|
|
|
|
registerPerson(
|
2019-12-17 11:09:24 +00:00
|
|
|
|
"""
|
|
|
|
|
The avatar for the profile, either as an object or directly the ID of an existing Picture
|
|
|
|
|
"""
|
|
|
|
|
avatar: PictureInput
|
2019-12-03 10:29:51 +00:00
|
|
|
|
|
2019-12-17 11:09:24 +00:00
|
|
|
|
"""
|
|
|
|
|
The banner for the profile, either as an object or directly the ID of an existing Picture
|
|
|
|
|
"""
|
|
|
|
|
banner: PictureInput
|
2019-12-03 10:29:51 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The email from the user previously created
|
|
|
|
|
"""
|
2019-12-20 12:04:34 +00:00
|
|
|
|
email: String!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The displayed name for the new profile
|
|
|
|
|
"""
|
2019-12-17 11:09:24 +00:00
|
|
|
|
name: String = ""
|
|
|
|
|
preferredUsername: String!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The summary for the new profile
|
|
|
|
|
"""
|
2019-12-17 11:09:24 +00:00
|
|
|
|
summary: String = ""
|
|
|
|
|
): Person
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Join a group
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
joinGroup(actorId: ID!, groupId: ID!): Member
|
2020-02-13 14:48:12 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create a Feed Token
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
createFeedToken(actorId: ID): FeedToken
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get a preview for a resource link
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
previewResourceLink(resourceUrl: String!): ResourceMetadata
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create a note on a report
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
createReportNote(content: String, moderatorId: ID!, reportId: ID!): ReportNote
|
2020-02-13 14:48:12 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create a discussion
|
|
|
|
|
"""
|
|
|
|
|
createDiscussion(
|
|
|
|
|
actorId: ID!
|
|
|
|
|
creatorId: ID!
|
|
|
|
|
text: String!
|
|
|
|
|
title: String!
|
|
|
|
|
): discussion
|
2020-02-18 07:57:00 +00:00
|
|
|
|
inviteMember(actorId: ID!, groupId: ID!, targetActorUsername: String!): Member
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Leave an event
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
leaveEvent(actorId: ID!, eventId: ID!, token: String): DeletedParticipant
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Login an user
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
login(email: String!, password: String!): Login
|
2020-02-13 14:48:12 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Change default actor for user
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
changeDefaultActor(preferredUsername: String!): User
|
2020-02-13 14:48:12 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Join an event
|
|
|
|
|
"""
|
|
|
|
|
joinEvent(
|
|
|
|
|
actorId: ID!
|
|
|
|
|
email: String
|
|
|
|
|
eventId: ID!
|
|
|
|
|
message: String
|
|
|
|
|
): Participant
|
2020-03-05 18:32:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create a todo
|
|
|
|
|
"""
|
|
|
|
|
createTodo(
|
|
|
|
|
assignedToId: ID
|
|
|
|
|
dueDate: DateTime
|
|
|
|
|
status: Boolean
|
|
|
|
|
title: String!
|
|
|
|
|
todoListId: ID!
|
|
|
|
|
): Todo
|
2020-03-05 18:32:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Change an user password
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
changePassword(newPassword: String!, oldPassword: String!): User
|
2019-12-20 12:04:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create a new person for user
|
|
|
|
|
"""
|
2019-12-20 12:04:34 +00:00
|
|
|
|
createPerson(
|
2019-12-17 11:09:24 +00:00
|
|
|
|
"""
|
|
|
|
|
The avatar for the profile, either as an object or directly the ID of an existing Picture
|
|
|
|
|
"""
|
|
|
|
|
avatar: PictureInput
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
The banner for the profile, either as an object or directly the ID of an existing Picture
|
|
|
|
|
"""
|
|
|
|
|
banner: PictureInput
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The displayed name for the new profile
|
|
|
|
|
"""
|
2019-12-20 12:04:34 +00:00
|
|
|
|
name: String = ""
|
|
|
|
|
preferredUsername: String!
|
2019-12-17 11:09:24 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The summary for the new profile
|
|
|
|
|
"""
|
2019-12-20 12:04:34 +00:00
|
|
|
|
summary: String = ""
|
2019-12-17 11:09:24 +00:00
|
|
|
|
): Person
|
2020-07-09 15:24:28 +00:00
|
|
|
|
replyToDiscussion(discussionId: ID!, text: String!): discussion
|
2019-12-17 11:09:24 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Resend registration confirmation token
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
resendConfirmationEmail(email: String!, locale: String): String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create a todo list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
createTodoList(groupId: ID!, title: String!): TodoList
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Delete an event
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
deleteEvent(actorId: ID!, eventId: ID!): DeletedObject
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Change an user email
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
changeEmail(email: String!, password: String!): User
|
2020-07-09 15:24:28 +00:00
|
|
|
|
updateDiscussion(discussionId: ID!, title: String!): discussion
|
2020-03-05 18:32:34 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create an event
|
|
|
|
|
"""
|
2020-03-05 18:32:34 +00:00
|
|
|
|
createEvent(
|
2020-02-18 07:57:00 +00:00
|
|
|
|
attributedToId: ID
|
2020-03-05 18:32:34 +00:00
|
|
|
|
beginsOn: DateTime!
|
|
|
|
|
category: String = "meeting"
|
|
|
|
|
description: String!
|
|
|
|
|
draft: Boolean = false
|
2020-02-13 14:48:12 +00:00
|
|
|
|
endsOn: DateTime
|
|
|
|
|
joinOptions: EventJoinOptions = FREE
|
|
|
|
|
onlineAddress: String
|
|
|
|
|
options: EventOptionsInput
|
2020-03-05 18:32:34 +00:00
|
|
|
|
organizerActorId: ID!
|
2020-02-13 14:48:12 +00:00
|
|
|
|
phoneAddress: String
|
|
|
|
|
physicalAddress: AddressInput
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
The picture for the event, either as an object or directly the ID of an existing Picture
|
|
|
|
|
"""
|
|
|
|
|
picture: PictureInput
|
2020-03-05 18:32:34 +00:00
|
|
|
|
publishAt: DateTime
|
2020-02-13 14:48:12 +00:00
|
|
|
|
status: EventStatus
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of tags associated to the event
|
|
|
|
|
"""
|
2020-03-05 18:32:34 +00:00
|
|
|
|
tags: [String] = [""]
|
|
|
|
|
title: String!
|
2020-02-13 14:48:12 +00:00
|
|
|
|
visibility: EventVisibility = PUBLIC
|
|
|
|
|
): Event
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Delete a feed token
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
deleteFeedToken(token: String!): DeletedFeedToken
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Delete a resource
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
deleteResource(id: ID!): DeletedObject
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Reset user password
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
resetPassword(locale: String = "en", password: String!, token: String!): Login
|
|
|
|
|
deleteReportNote(moderatorId: ID!, noteId: ID!): DeletedObject
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Delete an identity
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
deletePerson(id: ID!): Person
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Upload a picture
|
|
|
|
|
"""
|
|
|
|
|
uploadPicture(
|
|
|
|
|
actorId: ID!
|
|
|
|
|
alt: String
|
|
|
|
|
file: Upload!
|
|
|
|
|
name: String!
|
|
|
|
|
): Picture
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Refresh a token
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
refreshToken(refreshToken: String!): RefreshedToken
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Delete a group
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
deleteGroup(actorId: ID!, groupId: ID!): DeletedObject
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Update a resource
|
|
|
|
|
"""
|
|
|
|
|
updateResource(
|
|
|
|
|
actorId: ID
|
|
|
|
|
id: ID!
|
|
|
|
|
parentId: ID
|
|
|
|
|
path: String
|
|
|
|
|
resourceUrl: String
|
|
|
|
|
summary: String
|
|
|
|
|
title: String
|
|
|
|
|
): Resource
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create a comment
|
|
|
|
|
"""
|
|
|
|
|
createComment(
|
|
|
|
|
actorId: ID!
|
|
|
|
|
eventId: ID
|
|
|
|
|
inReplyToCommentId: ID
|
|
|
|
|
text: String!
|
|
|
|
|
): Comment
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create a resource
|
|
|
|
|
"""
|
|
|
|
|
createResource(
|
|
|
|
|
actorId: ID!
|
|
|
|
|
parentId: ID
|
|
|
|
|
path: String! = "/"
|
|
|
|
|
resourceUrl: String
|
|
|
|
|
summary: String
|
|
|
|
|
title: String
|
|
|
|
|
type: String
|
|
|
|
|
): Resource
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Update a report
|
|
|
|
|
"""
|
|
|
|
|
updateReportStatus(
|
|
|
|
|
moderatorId: ID!
|
|
|
|
|
reportId: ID!
|
|
|
|
|
status: ReportStatus!
|
|
|
|
|
): Report
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Update an event
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
updateEvent(
|
|
|
|
|
attributedToId: ID
|
|
|
|
|
beginsOn: DateTime
|
|
|
|
|
category: String
|
|
|
|
|
description: String
|
|
|
|
|
draft: Boolean
|
|
|
|
|
endsOn: DateTime
|
|
|
|
|
eventId: ID!
|
|
|
|
|
joinOptions: EventJoinOptions = FREE
|
|
|
|
|
onlineAddress: String
|
|
|
|
|
options: EventOptionsInput
|
|
|
|
|
organizerActorId: ID
|
|
|
|
|
phoneAddress: String
|
|
|
|
|
physicalAddress: AddressInput
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
The picture for the event, either as an object or directly the ID of an existing Picture
|
|
|
|
|
"""
|
|
|
|
|
picture: PictureInput
|
|
|
|
|
status: EventStatus
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of tags associated to the event
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
tags: [String]
|
|
|
|
|
title: String
|
|
|
|
|
visibility: EventVisibility = PUBLIC
|
|
|
|
|
): Event
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Confirm a participation
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
confirmParticipation(confirmationToken: String!): Participant
|
2020-07-09 15:24:28 +00:00
|
|
|
|
deleteDiscussion(discussionId: ID!): discussion
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Reject a relay subscription
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
rejectRelay(address: String!): Follower
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Accept a participation
|
|
|
|
|
"""
|
|
|
|
|
updateParticipation(
|
|
|
|
|
id: ID!
|
|
|
|
|
moderatorActorId: ID!
|
|
|
|
|
role: ParticipantRoleEnum!
|
|
|
|
|
): Participant
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Delete a todo
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
deleteTodo(id: ID!): DeletedObject
|
|
|
|
|
deleteComment(actorId: ID!, commentId: ID!): Comment
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Validate an user email
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
validateEmail(token: String!): User
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Send a link through email to reset user password
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
sendResetPassword(email: String!, locale: String): String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Update a comment
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
updateComment(commentId: ID!, text: String!): Comment
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Accept a relay subscription
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
acceptRelay(address: String!): Follower
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create a report
|
|
|
|
|
"""
|
|
|
|
|
createReport(
|
|
|
|
|
commentsIds: [ID] = [""]
|
|
|
|
|
content: String
|
|
|
|
|
eventId: ID
|
|
|
|
|
forward: Boolean = false
|
|
|
|
|
reportedId: ID!
|
|
|
|
|
reporterId: ID!
|
|
|
|
|
): Report
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Delete a relay subscription
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
removeRelay(address: String!): Follower
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Update an identity
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
updatePerson(
|
|
|
|
|
"""
|
|
|
|
|
The avatar for the profile, either as an object or directly the ID of an existing Picture
|
|
|
|
|
"""
|
|
|
|
|
avatar: PictureInput
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
The banner for the profile, either as an object or directly the ID of an existing Picture
|
|
|
|
|
"""
|
|
|
|
|
banner: PictureInput
|
|
|
|
|
id: ID!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The displayed name for this profile
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
name: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The summary for this profile
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
summary: String
|
|
|
|
|
): Person
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Validate an user after registration
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
validateUser(token: String!): Login
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Leave an event
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
leaveGroup(actorId: ID!, groupId: ID!): DeletedMember
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Delete an account
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
deleteAccount(password: String!): DeletedObject
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Create a group
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
createGroup(
|
|
|
|
|
"""
|
|
|
|
|
The avatar for the group, either as an object or directly the ID of an existing Picture
|
|
|
|
|
"""
|
|
|
|
|
avatar: PictureInput
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
The banner for the group, either as an object or directly the ID of an existing Picture
|
|
|
|
|
"""
|
|
|
|
|
banner: PictureInput
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The identity that creates the group
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
creatorActorId: ID!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The displayed name for the group
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
name: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The name for the group
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
preferredUsername: String!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The summary for the group
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
summary: String = ""
|
|
|
|
|
): Group
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Add a relay subscription
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
addRelay(address: String!): Follower
|
2020-07-09 15:24:28 +00:00
|
|
|
|
saveAdminSettings(
|
|
|
|
|
instanceDescription: String
|
|
|
|
|
instanceName: String
|
|
|
|
|
instanceTerms: String
|
|
|
|
|
instanceTermsType: InstanceTermsType
|
|
|
|
|
instanceTermsUrl: String
|
|
|
|
|
registrationsOpen: Boolean
|
|
|
|
|
): AdminSettings
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Update a todo
|
|
|
|
|
"""
|
|
|
|
|
updateTodo(
|
|
|
|
|
assignedToId: ID
|
|
|
|
|
dueDate: DateTime
|
|
|
|
|
id: ID!
|
|
|
|
|
status: Boolean
|
|
|
|
|
title: String
|
|
|
|
|
todoListId: ID
|
|
|
|
|
): Todo
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-05-31 15:58:03 +00:00
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
Root Query
|
2019-05-31 15:58:03 +00:00
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
type RootQueryType {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get the list of action logs
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
actionLogs(limit: Int = 10, page: Int = 1): [ActionLog]
|
2019-12-20 12:04:34 +00:00
|
|
|
|
adminSettings: AdminSettings
|
2019-04-26 13:22:16 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get the instance config
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
config: Config
|
2020-02-18 07:57:00 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get a discussion
|
|
|
|
|
"""
|
|
|
|
|
discussion(id: ID!): discussion
|
2019-09-09 07:31:08 +00:00
|
|
|
|
dashboard: Dashboard
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get an event by uuid
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
event(uuid: UUID!): Event
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get all events
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
events(limit: Int = 10, page: Int = 1): [Event]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get a person by its (federated) username
|
|
|
|
|
"""
|
2019-10-04 16:28:25 +00:00
|
|
|
|
fetchPerson(preferredUsername: String!): Person
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get a group by its preferred username
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
group(preferredUsername: String!): Group
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get all groups
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
groups(limit: Int = 10, page: Int = 1): PaginatedGroupList
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get the persons for an user
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
identities: [Person]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get the current actor for the logged-in user
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
loggedPerson: Person
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get the current user
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
loggedUser: User
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get a person by its ID
|
|
|
|
|
"""
|
2019-10-04 16:28:25 +00:00
|
|
|
|
person(id: ID!): Person
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get a picture
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
picture(id: String!): Picture
|
2019-12-03 10:29:51 +00:00
|
|
|
|
relayFollowers(limit: Int = 10, page: Int = 1): PaginatedFollowerList
|
2020-07-09 15:24:28 +00:00
|
|
|
|
relayFollowings(
|
|
|
|
|
direction: String = "desc"
|
|
|
|
|
limit: Int = 10
|
|
|
|
|
orderBy: String = "updated_at"
|
|
|
|
|
page: Int = 1
|
|
|
|
|
): PaginatedFollowerList
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get a report by id
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
report(id: ID!): Report
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get all reports
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
reports(limit: Int = 10, page: Int = 1, status: ReportStatus = OPEN): [Report]
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get a resource
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
resource(id: ID, path: String, username: String): Resource
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Reverse geocode coordinates
|
|
|
|
|
"""
|
|
|
|
|
reverseGeocode(
|
|
|
|
|
latitude: Float!
|
|
|
|
|
locale: String = "en"
|
|
|
|
|
longitude: Float!
|
|
|
|
|
zoom: Int = 15
|
|
|
|
|
): [Address]
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Search for an address
|
|
|
|
|
"""
|
|
|
|
|
searchAddress(
|
|
|
|
|
limit: Int = 10
|
|
|
|
|
locale: String = "en"
|
|
|
|
|
page: Int = 1
|
|
|
|
|
query: String!
|
|
|
|
|
): [Address]
|
2019-07-26 09:30:28 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Search events
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
searchEvents(limit: Int = 10, page: Int = 1, search: String!): Events
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Search groups
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
searchGroups(limit: Int = 10, page: Int = 1, search: String!): Groups
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Search persons
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
searchPersons(limit: Int = 10, page: Int = 1, search: String!): Persons
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get the list of tags
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
tags(limit: Int = 10, page: Int = 1): [Tag]!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get replies for thread
|
|
|
|
|
"""
|
2019-11-15 17:36:47 +00:00
|
|
|
|
thread(id: ID): [Comment]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get a todo
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
todo(id: ID!): Todo
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get a todo list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
todoList(id: ID!): TodoList
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Get an user
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
user(id: ID!): User
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
List instance users
|
|
|
|
|
"""
|
|
|
|
|
users(
|
|
|
|
|
direction: SortDirection = DESC
|
|
|
|
|
limit: Int = 10
|
|
|
|
|
page: Int = 1
|
|
|
|
|
sort: SortableUserField = ID
|
|
|
|
|
): Users
|
2019-04-26 13:22:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-03 10:29:51 +00:00
|
|
|
|
type RootSubscriptionType {
|
|
|
|
|
eventPersonParticipationChanged(personId: ID!): Person
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of possible options for the event's status
|
|
|
|
|
"""
|
2019-05-31 15:58:03 +00:00
|
|
|
|
enum SortableUserField {
|
2019-07-26 09:30:28 +00:00
|
|
|
|
ID
|
2019-05-31 15:58:03 +00:00
|
|
|
|
}
|
2019-04-26 13:22:16 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Available sort directions
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
enum SortDirection {
|
|
|
|
|
ASC
|
|
|
|
|
DESC
|
2019-05-31 15:58:03 +00:00
|
|
|
|
}
|
2019-04-26 13:22:16 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A tag
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
type Tag {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The tag's ID
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
id: ID
|
2019-04-26 13:22:16 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Related tags to this tag
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
related: [Tag]
|
2019-05-22 12:12:11 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The tags's slug
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
slug: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The tag's title
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
title: String
|
|
|
|
|
}
|
2019-04-26 13:22:16 +00:00
|
|
|
|
|
2019-12-20 12:04:34 +00:00
|
|
|
|
type Terms {
|
|
|
|
|
bodyHtml: String
|
|
|
|
|
type: InstanceTermsType
|
|
|
|
|
url: String
|
|
|
|
|
}
|
|
|
|
|
|
2019-11-20 12:49:57 +00:00
|
|
|
|
type Tiles {
|
|
|
|
|
attribution: String
|
|
|
|
|
endpoint: String
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A todo
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
type Todo {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The todos's assigned person
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
assignedTo: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The todo's creator
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
creator: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The todo's due date
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
dueDate: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The todo's ID
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The todo's status
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
status: Boolean
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The todo's title
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
title: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The todo list this todo is attached to
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
todoList: TodoList
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A todo list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
type TodoList {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The actor that owns this todo list
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
actor: Actor
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The todo list's ID
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The todo list's title
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
title: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The todo-list's todos
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
todos: PaginatedTodoList
|
|
|
|
|
}
|
|
|
|
|
|
2019-05-31 15:58:03 +00:00
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
Represents an uploaded file.
|
2019-05-31 15:58:03 +00:00
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
scalar Upload
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A local user of Mobilizon
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
type User {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The datetime the last activation/confirmation token was sent
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
confirmationSentAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The account activation/confirmation token
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
confirmationToken: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The datetime when the user was confirmed/activated
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
confirmedAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The user's default actor
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
defaultActor: Person
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of draft events this user has created
|
|
|
|
|
"""
|
2019-10-02 15:59:07 +00:00
|
|
|
|
drafts(limit: Int = 10, page: Int = 1): [Event]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The user's email
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
email: String!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
A list of the feed tokens for this user
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
feedTokens: [FeedToken]
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The user's ID
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
id: ID!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The user's locale
|
|
|
|
|
"""
|
2019-10-02 15:59:07 +00:00
|
|
|
|
locale: String
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of memberships for this user
|
|
|
|
|
"""
|
2020-02-18 07:57:00 +00:00
|
|
|
|
memberships(limit: Int = 10, page: Int = 1): PaginatedMemberList
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The list of participations this user has
|
|
|
|
|
"""
|
|
|
|
|
participations(
|
|
|
|
|
afterDatetime: DateTime
|
|
|
|
|
beforeDatetime: DateTime
|
|
|
|
|
limit: Int = 10
|
|
|
|
|
page: Int = 1
|
|
|
|
|
): [Participant]
|
2019-09-18 15:32:37 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The user's list of profiles (identities)
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
profiles: [Person]!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The datetime last reset password email was sent
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
resetPasswordSentAt: DateTime
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The token sent when requesting password token
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
resetPasswordToken: String
|
2019-09-09 07:31:08 +00:00
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
The role for the user
|
|
|
|
|
"""
|
2019-09-09 07:31:08 +00:00
|
|
|
|
role: UserRole
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
enum UserRole {
|
|
|
|
|
ADMINISTRATOR
|
|
|
|
|
MODERATOR
|
|
|
|
|
USER
|
2019-07-26 09:30:28 +00:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Users list
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
type Users {
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
User elements
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
elements: [User]!
|
|
|
|
|
|
2020-07-09 15:24:28 +00:00
|
|
|
|
"""
|
|
|
|
|
Total elements
|
|
|
|
|
"""
|
2019-07-26 09:30:28 +00:00
|
|
|
|
total: Int!
|
|
|
|
|
}
|
2019-04-26 13:22:16 +00:00
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
The `UUID` scalar type represents UUID4 compliant string data, represented as UTF-8
|
|
|
|
|
character sequences. The UUID4 type is most often used to represent unique
|
|
|
|
|
human-readable ID strings.
|
|
|
|
|
"""
|
|
|
|
|
scalar UUID
|