1. Login to AWS re:Invent portal
2. Open the Development tools of your browser, go to console
tab and run the following code:
var xhr1 = new XMLHttpRequest();
xhr1.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var response = JSON.parse(xhr1.responseText);
var userUid = response.data.userUid;
var xhr2 = new XMLHttpRequest();
xhr2.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var response = JSON.parse(xhr2.responseText);
var reservedSessions = response.data.userReservationSessions;
var sessions = [];
for(var session of reservedSessions){
sessions.push(session.scheduleUid);
}
console.log("--------------- Copy the output below -------------------");
console.log(JSON.stringify(sessions));
console.log("--------------- Copy the output above -------------------");
}
};
xhr2.open("GET", "https://hub.reinvent.awsevents.com/attendee-portal-api/events/getUserReservations/?user_uuid=" + userUid, true);
xhr2.send();
}
};
xhr1.open("GET", "https://hub.reinvent.awsevents.com/attendee-portal-api/user/", true);
xhr1.send();
3. Copy the output and paste into the textbox below.
4. Click the Import
button.