2019-07-26 11:30:28 +02:00
|
|
|
|
# source: http://localhost:4000/api
|
2020-02-18 08:57:00 +01:00
|
|
|
|
# timestamp: Tue May 05 2020 17:26:14 GMT+0200 (heure d’été d’Europe centrale)
|
2019-04-26 15:22:16 +02:00
|
|
|
|
|
|
|
|
|
schema {
|
2019-07-26 11:30:28 +02:00
|
|
|
|
query: RootQueryType
|
|
|
|
|
mutation: RootMutationType
|
2019-12-03 11:29:51 +01:00
|
|
|
|
subscription: RootSubscriptionType
|
2019-04-26 15:22:16 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
An action log
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
type ActionLog {
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The action that was done
|
|
|
|
|
"""
|
2019-09-09 09:31:08 +02:00
|
|
|
|
action: ActionLogAction
|
2019-07-26 11:30:28 +02:00
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor that acted
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
actor: Actor
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this comment
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The time when the action was performed
|
|
|
|
|
"""
|
2019-09-09 09:31:08 +02:00
|
|
|
|
insertedAt: DateTime
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The object that was acted upon
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
object: ActionLogObject
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-09 09:31:08 +02:00
|
|
|
|
enum ActionLogAction {
|
2019-12-03 11:29:51 +01:00
|
|
|
|
COMMENT_DELETION
|
2019-09-09 09:31:08 +02:00
|
|
|
|
EVENT_DELETION
|
|
|
|
|
EVENT_UPDATE
|
|
|
|
|
NOTE_CREATION
|
|
|
|
|
NOTE_DELETION
|
|
|
|
|
REPORT_UPDATE_CLOSED
|
|
|
|
|
REPORT_UPDATE_OPENED
|
|
|
|
|
REPORT_UPDATE_RESOLVED
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The objects that can be in an action log
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
interface ActionLogObject {
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this object
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
id: ID
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub actor
|
|
|
|
|
"""
|
2019-04-26 15:22:16 +02:00
|
|
|
|
interface Actor {
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's avatar picture
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
avatar: Picture
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's banner picture
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
banner: Picture
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's domain if (null if it's this instance)
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
domain: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
List of followers
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
followers: [Follower]
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Number of followers for this actor
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
followersCount: Int
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
List of followings
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
following: [Follower]
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Number of actors following this actor
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
followingCount: Int
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this actor
|
|
|
|
|
"""
|
2019-09-09 09:31:08 +02:00
|
|
|
|
id: ID
|
2019-07-26 11:30:28 +02:00
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
If the actor is from this instance
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
local: Boolean
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Whether the actors manually approves followers
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
manuallyApprovesFollowers: Boolean
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's displayed name
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
name: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's preferred username
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
preferredUsername: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's summary
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
summary: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
If the actor is suspended
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
suspended: Boolean
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The type of Actor (Person, Group,…)
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
type: ActorType
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The ActivityPub actor's URL
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
url: String
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The list of types an actor can be
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
enum ActorType {
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub Application
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
APPLICATION
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub Group
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
GROUP
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub Organization
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
ORGANIZATION
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub Person
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
PERSON
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
An ActivityPub Service
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
SERVICE
|
2019-04-26 15:22:16 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Address {
|
2019-07-26 11:30:28 +02:00
|
|
|
|
country: String
|
|
|
|
|
description: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The geocoordinates for the point where this address is
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
geom: Point
|
2019-09-09 09:31:08 +02:00
|
|
|
|
id: ID
|
2019-07-26 11:30:28 +02:00
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The address's locality
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
locality: String
|
2019-08-22 15:57:44 +02:00
|
|
|
|
originId: String
|
2019-07-26 11:30:28 +02:00
|
|
|
|
postalCode: String
|
|
|
|
|
region: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The address's street name (with number)
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
street: String
|
2019-11-08 19:37:14 +01:00
|
|
|
|
type: String
|
2019-07-30 16:40:59 +02:00
|
|
|
|
url: String
|
2019-07-26 11:30:28 +02:00
|
|
|
|
}
|
|
|
|
|
|
2019-07-30 10:35:29 +02:00
|
|
|
|
input AddressInput {
|
|
|
|
|
country: String
|
|
|
|
|
description: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The geocoordinates for the point where this address is
|
|
|
|
|
"""
|
2019-07-30 10:35:29 +02:00
|
|
|
|
geom: Point
|
2019-09-09 09:31:08 +02:00
|
|
|
|
id: ID
|
2019-07-30 10:35:29 +02:00
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The address's locality
|
|
|
|
|
"""
|
2019-07-30 10:35:29 +02:00
|
|
|
|
locality: String
|
2019-08-22 15:57:44 +02:00
|
|
|
|
originId: String
|
2019-07-30 10:35:29 +02:00
|
|
|
|
postalCode: String
|
|
|
|
|
region: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The address's street name (with number)
|
|
|
|
|
"""
|
2019-07-30 10:35:29 +02:00
|
|
|
|
street: String
|
2019-11-08 19:37:14 +01:00
|
|
|
|
type: String
|
2019-07-30 16:40:59 +02:00
|
|
|
|
url: String
|
2019-07-30 10:35:29 +02:00
|
|
|
|
}
|
|
|
|
|
|
2019-12-20 13:04:34 +01: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 11:29:51 +01:00
|
|
|
|
"""
|
|
|
|
|
Represents an application
|
|
|
|
|
"""
|
|
|
|
|
type Application implements Actor {
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's avatar picture
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
avatar: Picture
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's banner picture
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
banner: Picture
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's domain if (null if it's this instance)
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
domain: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
List of followers
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
followers: [Follower]
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Number of followers for this actor
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
followersCount: Int
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
List of followings
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
following: [Follower]
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Number of actors following this actor
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
followingCount: Int
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this application
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
id: ID
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
If the actor is from this instance
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
local: Boolean
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Whether the actors manually approves followers
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
manuallyApprovesFollowers: Boolean
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's displayed name
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
name: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's preferred username
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
preferredUsername: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The actor's summary
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
summary: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
If the actor is suspended
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
suspended: Boolean
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The type of Actor (Person, Group,…)
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
type: ActorType
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The ActivityPub actor's URL
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
url: String
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
A comment
|
|
|
|
|
"""
|
2019-12-03 11:29:51 +01:00
|
|
|
|
type Comment implements ActionLogObject {
|
2019-11-15 18:36:47 +01:00
|
|
|
|
actor: Person
|
|
|
|
|
deletedAt: DateTime
|
|
|
|
|
event: Event
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this comment
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
id: ID
|
2019-11-15 18:36:47 +01:00
|
|
|
|
inReplyToComment: Comment
|
|
|
|
|
insertedAt: DateTime
|
2019-07-26 11:30:28 +02:00
|
|
|
|
local: Boolean
|
2019-11-15 18:36:47 +01:00
|
|
|
|
originComment: Comment
|
2019-07-26 11:30:28 +02:00
|
|
|
|
primaryLanguage: String
|
|
|
|
|
replies: [Comment]
|
|
|
|
|
text: String
|
|
|
|
|
threadLanguages: [String]!
|
2019-11-15 18:36:47 +01:00
|
|
|
|
totalReplies: Int
|
|
|
|
|
updatedAt: DateTime
|
2019-07-26 11:30:28 +02:00
|
|
|
|
url: String
|
|
|
|
|
uuid: UUID
|
|
|
|
|
visibility: CommentVisibility
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The list of visibility options for a comment
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
enum CommentVisibility {
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
visible only to people invited
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
INVITE
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Visible only after a moderator accepted
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
MODERATED
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Visible only to people members of the group or followers of the person
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
PRIVATE
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Publicly listed and federated. Can be shared.
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
PUBLIC
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Visible only to people with the link - or invited
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
UNLISTED
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
A config object
|
|
|
|
|
"""
|
2019-04-26 15:22:16 +02:00
|
|
|
|
type Config {
|
2019-12-20 13:04:34 +01:00
|
|
|
|
anonymous: Anonymous
|
2019-11-08 19:37:14 +01:00
|
|
|
|
countryCode: String
|
2019-11-21 16:07:43 +01:00
|
|
|
|
demoMode: Boolean
|
2019-07-26 11:30:28 +02:00
|
|
|
|
description: String
|
2019-11-20 13:49:57 +01:00
|
|
|
|
geocoding: Geocoding
|
2019-11-08 19:37:14 +01:00
|
|
|
|
location: Lonlat
|
2019-11-20 13:49:57 +01:00
|
|
|
|
maps: Maps
|
2019-07-26 11:30:28 +02:00
|
|
|
|
name: String
|
|
|
|
|
registrationsOpen: Boolean
|
2019-12-17 12:09:24 +01:00
|
|
|
|
registrationsWhitelist: Boolean
|
2020-02-18 08:57:00 +01:00
|
|
|
|
resourceProviders: [ResourceProvider]
|
2019-12-20 13:04:34 +01:00
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The instance's terms
|
|
|
|
|
"""
|
2019-12-20 13:04:34 +01:00
|
|
|
|
terms(locale: String = "en"): Terms
|
2019-04-26 15:22:16 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
A discussion
|
|
|
|
|
"""
|
|
|
|
|
type discussion {
|
2020-02-18 08:57:00 +01:00
|
|
|
|
actor: Actor
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The comments for the discussion
|
|
|
|
|
"""
|
2020-02-18 08:57:00 +01:00
|
|
|
|
comments(limit: Int = 10, page: Int = 1): PaginatedCommentList
|
|
|
|
|
creator: Person
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this discussion
|
|
|
|
|
"""
|
2020-02-18 08:57:00 +01:00
|
|
|
|
id: ID
|
|
|
|
|
insertedAt: DateTime
|
|
|
|
|
lastComment: Comment
|
|
|
|
|
slug: String
|
|
|
|
|
title: String
|
|
|
|
|
updatedAt: DateTime
|
|
|
|
|
}
|
|
|
|
|
|
2019-09-09 09:31:08 +02:00
|
|
|
|
type Dashboard {
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Last public event publish
|
|
|
|
|
"""
|
2019-09-09 09:31:08 +02:00
|
|
|
|
lastPublicEventPublished: Event
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The number of local comments
|
|
|
|
|
"""
|
2019-09-09 09:31:08 +02:00
|
|
|
|
numberOfComments: Int
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The number of local events
|
|
|
|
|
"""
|
2019-09-09 09:31:08 +02:00
|
|
|
|
numberOfEvents: Int
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The number of current opened reports
|
|
|
|
|
"""
|
2019-09-09 09:31:08 +02:00
|
|
|
|
numberOfReports: Int
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The number of local users
|
|
|
|
|
"""
|
2019-09-09 09:31:08 +02:00
|
|
|
|
numberOfUsers: Int
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-26 11:30:28 +02: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 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Represents a deleted feed_token
|
|
|
|
|
"""
|
2019-04-26 15:22:16 +02:00
|
|
|
|
type DeletedFeedToken {
|
2019-07-26 11:30:28 +02:00
|
|
|
|
actor: DeletedObject
|
|
|
|
|
user: DeletedObject
|
2019-04-26 15:22:16 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Represents a deleted member
|
|
|
|
|
"""
|
2019-04-26 15:22:16 +02:00
|
|
|
|
type DeletedMember {
|
2019-07-26 11:30:28 +02:00
|
|
|
|
actor: DeletedObject
|
|
|
|
|
parent: DeletedObject
|
2019-04-26 15:22:16 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
A struct containing the id of the deleted object
|
|
|
|
|
"""
|
2019-04-26 15:22:16 +02:00
|
|
|
|
type DeletedObject {
|
2019-09-09 09:31:08 +02:00
|
|
|
|
id: ID
|
2019-04-26 15:22:16 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Represents a deleted participant
|
|
|
|
|
"""
|
2019-04-26 15:22:16 +02:00
|
|
|
|
type DeletedParticipant {
|
2019-07-26 11:30:28 +02:00
|
|
|
|
actor: DeletedObject
|
|
|
|
|
event: DeletedObject
|
2019-09-20 18:22:03 +02:00
|
|
|
|
id: ID
|
2019-04-26 15:22:16 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
An event
|
|
|
|
|
"""
|
2019-09-09 09:31:08 +02:00
|
|
|
|
type Event implements ActionLogObject {
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Who the event is attributed to (often a group)
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
attributedTo: Actor
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Datetime for when the event begins
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
beginsOn: DateTime
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The event's category
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
category: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The comments in reply to the event
|
|
|
|
|
"""
|
2019-11-15 18:36:47 +01:00
|
|
|
|
comments: [Comment]
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
When the event was created
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
createdAt: DateTime
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The event's description
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
description: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Whether or not the event is a draft
|
|
|
|
|
"""
|
2019-10-02 17:59:07 +02:00
|
|
|
|
draft: Boolean
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Datetime for when the event ends
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
endsOn: DateTime
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Internal ID for this event
|
|
|
|
|
"""
|
2019-09-09 09:31:08 +02:00
|
|
|
|
id: ID
|
2019-07-26 11:30:28 +02:00
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The event's visibility
|
|
|
|
|
"""
|
2019-09-20 18:22:03 +02:00
|
|
|
|
joinOptions: EventJoinOptions
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Whether the event is local or not
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
local: Boolean
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Online address of the event
|
|
|
|
|
"""
|
2019-09-09 11:21:42 +02:00
|
|
|
|
onlineAddress: String
|
2019-07-26 11:30:28 +02:00
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The event options
|
|
|
|
|
"""
|
2019-08-28 11:28:27 +02:00
|
|
|
|
options: EventOptions
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The event's organizer (as a person)
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
organizerActor: Actor
|
2019-09-11 16:37:30 +02:00
|
|
|
|
participantStats: ParticipantStats
|
2019-07-26 11:30:28 +02:00
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The event's participants
|
|
|
|
|
"""
|
|
|
|
|
participants(
|
|
|
|
|
actorId: ID
|
|
|
|
|
limit: Int = 10
|
|
|
|
|
page: Int = 1
|
|
|
|
|
roles: String = ""
|
|
|
|
|
): PaginatedParticipantList
|
2019-07-26 11:30:28 +02:00
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Phone address for the event
|
|
|
|
|
"""
|
2019-09-09 11:21:42 +02:00
|
|
|
|
phoneAddress: String
|
2019-07-26 11:30:28 +02:00
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The type of the event's address
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
physicalAddress: Address
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The event's picture
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
picture: Picture
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
When the event was published
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
publishAt: DateTime
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Events related to this one
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
relatedEvents: [Event]
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The event's description's slug
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
slug: String
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
Status of the event
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
status: EventStatus
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The event's tags
|
|
|
|
|
"""
|
2019-07-26 11:30:28 +02:00
|
|
|
|
tags: [Tag]
|
|
|
|
|
|
2020-07-09 17:24:28 +02:00
|
|
|
|
"""
|
|
|
|
|
The event's title
|
|