51 lines
4.7 KiB
JSON
51 lines
4.7 KiB
JSON
{
|
|
"operationName": "createEvent",
|
|
"query": "mutation createEvent($organizerActorId: ID!, $attributedToId: ID, $title: String!, $description: String!, $beginsOn: DateTime!, $endsOn: DateTime, $status: EventStatus, $visibility: EventVisibility, $joinOptions: EventJoinOptions, $draft: Boolean, $tags: [String], $picture: MediaInput, $onlineAddress: String, $phoneAddress: String, $category: String, $physicalAddress: AddressInput, $options: EventOptionsInput, $contacts: [Contact]) {\n createEvent(\n organizerActorId: $organizerActorId\n attributedToId: $attributedToId\n title: $title\n description: $description\n beginsOn: $beginsOn\n endsOn: $endsOn\n status: $status\n visibility: $visibility\n joinOptions: $joinOptions\n draft: $draft\n tags: $tags\n picture: $picture\n onlineAddress: $onlineAddress\n phoneAddress: $phoneAddress\n category: $category\n physicalAddress: $physicalAddress\n options: $options\n contacts: $contacts\n ) {\n ...FullEvent\n __typename\n }\n}\n\nfragment FullEvent on Event {\n id\n uuid\n url\n local\n title\n description\n beginsOn\n endsOn\n status\n visibility\n joinOptions\n draft\n picture {\n id\n url\n name\n metadata {\n width\n height\n blurhash\n __typename\n }\n __typename\n }\n publishAt\n onlineAddress\n phoneAddress\n physicalAddress {\n ...AdressFragment\n __typename\n }\n organizerActor {\n avatar {\n id\n url\n __typename\n }\n preferredUsername\n domain\n name\n url\n id\n summary\n __typename\n }\n contacts {\n avatar {\n id\n url\n __typename\n }\n preferredUsername\n name\n summary\n domain\n url\n id\n __typename\n }\n attributedTo {\n avatar {\n id\n url\n __typename\n }\n preferredUsername\n name\n summary\n domain\n url\n id\n __typename\n }\n participantStats {\n going\n notApproved\n participant\n __typename\n }\n tags {\n ...TagFragment\n __typename\n }\n relatedEvents {\n id\n uuid\n title\n beginsOn\n picture {\n id\n url\n name\n metadata {\n width\n height\n blurhash\n __typename\n }\n __typename\n }\n physicalAddress {\n id\n description\n __typename\n }\n organizerActor {\n id\n avatar {\n id\n url\n __typename\n }\n preferredUsername\n domain\n name\n __typename\n }\n __typename\n }\n options {\n ...EventOptions\n __typename\n }\n metadata {\n key\n title\n value\n type\n __typename\n }\n __typename\n}\n\nfragment AdressFragment on Address {\n id\n description\n geom\n street\n locality\n postalCode\n region\n country\n type\n url\n originId\n __typename\n}\n\nfragment TagFragment on Tag {\n id\n slug\n title\n __typename\n}\n\nfragment EventOptions on EventOptions {\n maximumAttendeeCapacity\n remainingAttendeeCapacity\n showRemainingAttendeeCapacity\n anonymousParticipation\n showStartTime\n showEndTime\n offers {\n price\n priceCurrency\n url\n __typename\n }\n participationConditions {\n title\n content\n url\n __typename\n }\n attendees\n program\n commentModeration\n showParticipationPrice\n hideOrganizerWhenGroupEvent\n __typename\n}\n",
|
|
"variables": {
|
|
"attributedToId": null,
|
|
"beginsOn": "2022-01-11T09:45:00.000Z",
|
|
"contacts": [],
|
|
"description": "<p>la description</p>",
|
|
"draft": false,
|
|
"endsOn": "2022-01-11T12:00:00.000Z",
|
|
"joinOptions": "FREE",
|
|
"onlineAddress": "https://cipherbliss.com",
|
|
"options": {
|
|
"anonymousParticipation": true,
|
|
"attendees": [],
|
|
"commentModeration": "ALLOW_ALL",
|
|
"hideOrganizerWhenGroupEvent": false,
|
|
"maximumAttendeeCapacity": 200,
|
|
"offers": [],
|
|
"participationConditions": [],
|
|
"program": "",
|
|
"remainingAttendeeCapacity": 0,
|
|
"showEndTime": true,
|
|
"showParticipationPrice": false,
|
|
"showRemainingAttendeeCapacity": false,
|
|
"showStartTime": true
|
|
},
|
|
"organizerActorId": "3",
|
|
"phoneAddress": "",
|
|
"physicalAddress": {
|
|
"country": "France",
|
|
"description": "3 Rue du Temple",
|
|
"geom": "2.3525187;48.857539",
|
|
"id": null,
|
|
"locality": "Paris",
|
|
"originId": "nominatim:700449153",
|
|
"postalCode": "75004",
|
|
"region": "Île-de-France",
|
|
"street": "3 Rue du Temple",
|
|
"type": "house",
|
|
"url": null
|
|
},
|
|
"status": "CONFIRMED",
|
|
"tags": [
|
|
"machin",
|
|
"chose"
|
|
],
|
|
"title": "blah titre",
|
|
"visibility": "PUBLIC"
|
|
}
|
|
} |