I’m writing a program in Java and I want to be able to automate the creation of events in Indico as part of the workflow. However I can’t find the documentation. I did find someone asking a question about using the REST API, so it seems to exist but my searches for the documentation isn’t giving any results. Can someone perhaps point me in the right direction?
There is no API for creating events so far. You would need to use your browser’s devtools to see what the UI sends, and make the same call.
That doesn’t sound like a nice solution. Is it possible to import events from a CSV file?
No, what is your goal there? Typically you want to provide much more data in an indico event than what you can enter during creation…
I actually responded to this comment via email but it doesn’t seem to have worked. I have written an a program to organise our workshops and I want to populate indico from this program with the workshops we entered into the program.
Reply-by-email is not enabled on this Discourse forum.
Anyway, I’m afraid you’ll have to “reverse engineer” the event creation requests for this, or alternatively develop a small plugin that exposes a nicer API to create events.
In the medium-term we will rewrite the event creation dialog in React, and at that point we’ll also have a nice RESTful API endpoint for it, but before that I don’t think we’ll have time to do this…