These are chat archives for fossasia/open-event-server

30th
Mar 2017
Afroz Ahamad
@enigmaeth
Mar 30 2017 10:19
POST /events lets you create an event . Other APIs like POST /events/{event_id}/sessions lets you add session to an event given its ID. This is what I got from the documentation.
Can we post all the details of an event like sessions, speakers, tracks by using POST /events? Or does it just create an event ID with event metadata( titles and possibly link) and we have to use the other APIs for adding details to the event?
Niranjan Rajendran
@niranjan94
Mar 30 2017 10:23
You can't do that yet. But if it's required, it needs to be implemented on the server side.
Afroz Ahamad
@enigmaeth
Mar 30 2017 10:23
okay, yes!
So we need to develop an API which lets us create an event from one file, right?
The file containing all data about events, microlocations, speakers..
Niranjan Rajendran
@niranjan94
Mar 30 2017 10:24
Yes. But I still don't understand why that is needed?
Afroz Ahamad
@enigmaeth
Mar 30 2017 10:25
Because when we scrape, we can use this to export all details in one go
Niranjan Rajendran
@niranjan94
Mar 30 2017 10:26
Why is the scrapper trying to add the event.?
The server will call the scrapper api to get the data.
Scrapper is not gonna call server api to store.
Afroz Ahamad
@enigmaeth
Mar 30 2017 10:27
Okay ... lets say I search for some event which is not there in Open Event, what should happen next? Just want to make things clear :smile:
Niranjan Rajendran
@niranjan94
Mar 30 2017 10:29
Open event server will make a call to query server. Get events. When we want to load an event into the server, open event server will make a call to the event collect api and will get the event data as a json response. Open event server will read the response and load it.
Very straightforward
This way, we can remove the intermediate steps of creating any files/zips
Afroz Ahamad
@enigmaeth
Mar 30 2017 10:31
Okay.. I got it now. We can remove zipping/file step completely.
Nice..
Niranjan Rajendran
@niranjan94
Mar 30 2017 10:32
Exactly.
And will require minimal to no change in open event server api
Afroz Ahamad
@enigmaeth
Mar 30 2017 10:32
:+1:
Yes. We won't be possibly changing anything significant
Niranjan Rajendran
@niranjan94
Mar 30 2017 10:33
Yes.
Shubham Padia
@shubham-padia
Mar 30 2017 16:58
@SaptakS @niranjan94 What is the services table used for in uer ?
wongalvis
@wongalvis
Mar 30 2017 20:44
Is anyone applying for the gsoc task for open event?
Mario Behling
@mariobehling
Mar 30 2017 20:46
@wongalvis A number of people are applying but we are looking for more applications