Skip to content

[#44] Session/Team Info Page

Kamile Liucija Vainiute requested to merge feat/44-session-team-info-page into main

closes #44 (closed)

new endpoints:

.../v1/jamboree/schedule - full jamboree schedule
.../v1/jamboree/schedule/{sessionUUID} - individual session
.../v1/jamboree/team/{teamID} - team info page

example return of full schedule:

[
    {
        "uuid": "7cb1c9db-1fc5-4c43-833f-cd57f8776d3d",
        "title": "test",
        "description": "test",
        "type": "igem-sessions",
        "status": "offline",
        "topics": [
            "technology"
        ],
        "location": null,
        "teamID": null,
        "startTime": "2023-08-10T10:00:00.000Z",
        "endTime": "2023-08-10T10:15:00.000Z",
        "metadata": {
            "speakers": [
                "kvainiute"
            ]
        },
        "zoomMeetingID": null,
        "eventUUID": "9903d555-fa6b-4f10-b1f5-81d7023e90c3",
        "liveStreamUUID": null,
        "recordingUUID": null,
        "audit": {
            "created": "2023-09-08T09:37:29.980Z",
            "updated": "2023-09-08T09:37:29.980Z"
        },
        "team": null,
        "speakers": [
            {
                "fullName": "Kamile Vainiute",
                "organization": "iGEM Creative Productions",
                "role": "Software Engineer"
            }
        ]
    },
    {
        "uuid": "01746b67-bcd6-430e-b126-b8f05e1326ee",
        "title": "test",
        "description": "test",
        "type": "team-presentation",
        "status": "offline",
        "topics": [],
        "location": null,
        "teamID": 4572,
        "startTime": "2023-08-10T10:00:00.000Z",
        "endTime": "2023-08-10T10:15:00.000Z",
        "metadata": null,
        "zoomMeetingID": null,
        "eventUUID": "9903d555-fa6b-4f10-b1f5-81d7023e90c3",
        "liveStreamUUID": null,
        "recordingUUID": null,
        "audit": {
            "created": "2023-09-08T09:37:58.007Z",
            "updated": "2023-09-08T09:37:58.007Z"
        },
        "team": {
            "id": 4572,
            "name": "Example",
            "region": "europe",
            "country": "France",
            "schools": "iGEM Headquarters",
            "track": "",
            "kind": "collegiate",
            "section": "iGEM",
            "status": "Accepted",
            "year": 2023,
            "isRemote": null,
            "artifacts": [
                {
                    "uuid": "56bfad3f-a7d7-4ac1-b9c2-d44d2eef9e89",
                    "type": "description",
                    "teamID": 4572,
                    "recordingUUID": null,
                    "metadata": {
                        "title": "I am testing the title & abstract",
                        "abstract": "Doop dee doo. Team example needs a win this year."
                    },
                    "audit": {
                        "created": "2023-09-04T12:01:18.371Z",
                        "updated": "2023-09-07T09:01:21.169Z"
                    }
                },
                {
                    "uuid": "18d9466b-f56f-40a6-b32c-adcbd20fe041",
                    "type": "project-promotion",
                    "teamID": 4572,
                    "recordingUUID": "43aca892-1f87-4a71-bf35-d2ed51690d28",
                    "metadata": null,
                    "audit": {
                        "created": "2023-09-08T10:05:32.596Z",
                        "updated": "2023-09-08T10:05:32.596Z"
                    }
                }
            ]
        },
        "speakers": []
    },
    {
        "uuid": "dee9733d-97b5-4434-b0af-5625f980fa9b",
        "title": "test 2",
        "description": "test 2 about a lot of different things",
        "type": "prime-session",
        "status": "offline",
        "topics": [
            "open-science",
            "creativity"
        ],
        "location": {
            "type": "plaza",
            "number": 4
        },
        "teamID": null,
        "startTime": "2023-08-10T10:00:00.000Z",
        "endTime": "2023-08-10T10:15:00.000Z",
        "metadata": {
            "links": {
                "url": "www.google.com",
                "label": "Google"
            },
            "speakers": [
                "kvainiute",
                "maschi",
                "nemanja",
                "iCody"
            ],
            "organizers": {
                "url": "www.google.com",
                "name": "Google",
                "logoURL": "https://www.google.com/url?sa=i&url=https%3A%2F%2Ffreebiesupply.com%2Flogos%2Fgoogle-logo%2F&psig=AOvVaw0VPEL5PcJxU8io8fBw0vFO&ust=1694252498495000&source=images&cd=vfe&opi=89978449&ved=0CA4QjRxqFwoTCJjyz8XcmoEDFQAAAAAdAAAAABAD"
            }
        },
        "zoomMeetingID": null,
        "eventUUID": "9903d555-fa6b-4f10-b1f5-81d7023e90c3",
        "liveStreamUUID": null,
        "recordingUUID": null,
        "audit": {
            "created": "2023-09-08T09:42:49.639Z",
            "updated": "2023-09-08T09:42:49.639Z"
        },
        "team": null,
        "speakers": [
            {
                "fullName": "Kamile Vainiute",
                "organization": "iGEM Creative Productions",
                "role": "Software Engineer"
            },
            {
                "fullName": "Fabio M"
            },
            {
                "fullName": "Nemanja Stijepovic"
            },
            {
                "fullName": "Cody Adam"
            }
        ]
    }
]

example return of individual session:

{
    "uuid": "dee9733d-97b5-4434-b0af-5625f980fa9b",
    "title": "test 2",
    "description": "test 2 about a lot of different things",
    "type": "prime-session",
    "status": "offline",
    "topics": [
        "open-science",
        "creativity"
    ],
    "location": {
        "type": "plaza",
        "number": 4
    },
    "teamID": null,
    "startTime": "2023-08-10T10:00:00.000Z",
    "endTime": "2023-08-10T10:15:00.000Z",
    "metadata": {
        "links": {
            "url": "www.google.com",
            "label": "Google"
        },
        "speakers": [
            "kvainiute",
            "maschi",
            "nemanja",
            "iCody"
        ],
        "organizers": {
            "url": "www.google.com",
            "name": "Google",
            "logoURL": "https://www.google.com/url?sa=i&url=https%3A%2F%2Ffreebiesupply.com%2Flogos%2Fgoogle-logo%2F&psig=AOvVaw0VPEL5PcJxU8io8fBw0vFO&ust=1694252498495000&source=images&cd=vfe&opi=89978449&ved=0CA4QjRxqFwoTCJjyz8XcmoEDFQAAAAAdAAAAABAD"
        }
    },
    "zoomMeetingID": null,
    "eventUUID": "9903d555-fa6b-4f10-b1f5-81d7023e90c3",
    "liveStreamUUID": null,
    "recordingUUID": null,
    "audit": {
        "created": "2023-09-08T09:42:49.639Z",
        "updated": "2023-09-08T09:42:49.639Z"
    },
    "recording": null,
    "speakers": [
        {
            "fullName": "Kamile Vainiute",
            "organization": "iGEM Creative Productions",
            "role": "Software Engineer"
        },
        {
            "fullName": "Fabio M"
        },
        {
            "fullName": "Nemanja Stijepovic"
        },
        {
            "fullName": "Cody Adam"
        }
    ]
}

example return of team info:

{
    "id": 4572,
    "name": "Example",
    "region": "europe",
    "country": "France",
    "schools": "iGEM Headquarters",
    "track": "",
    "kind": "collegiate",
    "section": "iGEM",
    "status": "Accepted",
    "year": 2023,
    "isRemote": null,
    "artifacts": [
        {
            "type": "description",
            "recording": null,
            "metadata": {
                "title": "I am testing the title & abstract",
                "abstract": "Doop dee doo. Team example needs a win this year."
            }
        },
        {
            "type": "project-promotion",
            "recording": {
                "peertubeUUID": "43aca892-1f87-4a71-bf35-d2ed51690d28",
                "duration": 791,
                "thumbnailPath": "https://video.igem.org/static/thumbnails/00d5f472-0dd1-4c16-961e-310fb068dc90.jpg",
                "audit": {
                    "created": "2023-09-08T10:11:40.115Z",
                    "updated": "2023-09-08T10:11:40.115Z"
                }
            },
            "metadata": null
        }
    ],
    "sessions": [
        {
            "uuid": "01746b67-bcd6-430e-b126-b8f05e1326ee",
            "title": "test",
            "description": "test",
            "type": "team-presentation",
            "location": null,
            "status": "offline",
            "startTime": "2023-08-10T10:00:00.000Z",
            "endTime": "2023-08-10T10:15:00.000Z",
            "audit": {
                "created": "2023-09-08T09:37:58.007Z",
                "updated": "2023-09-08T09:37:58.007Z"
            },
            "eventUUID": "9903d555-fa6b-4f10-b1f5-81d7023e90c3",
            "liveStreamUUID": null,
            "zoomMeetingID": null,
            "metadata": null,
            "topics": []
        }
    ]
}
Edited by Fabio Maschi

Merge request reports

Loading