Download OpenAPI specification:
This OpenAPI specification defines the endpoints, schemas, and security mechanisms for the Meet@Mensa User micro-service.
Request a series of conversation starter prompts from the GenAI microservice. Provide infomation about users on request.
required | Array of objects (User) |
{- "users": [
- {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "email": "user@example.com",
- "firstname": "Max",
- "lastname": "Mustermann",
- "birthday": "2019-08-24",
- "gender": "other",
- "degree": "msc_informatics",
- "degreeStart": 2024,
- "interests": [
- "string"
], - "bio": "string"
}
]
}{- "conversationsStarters": [
- {
- "prompt": "string"
}
]
}Submit a new matching request to the Matching-Service
| userID required | string <uuid> (userID) The unique ID of a single student in the Meet@Mensa system. | ||||||
| date required | string <date> The date a user would like meet@mensa to find them a match | ||||||
| timeslot required | Array of integers (timeslot) [ items [ 1 .. 16 ] ] | ||||||
| location required | any (location) Enum: "GARCHING" "ARCISSTR" Enumerator representing a mensa at which a meet can happen
| ||||||
required | object (MatchPreferences) Object Representing a set of user preferences |
{- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "date": "2019-08-24",
- "timeslot": [
- 1
], - "location": "GARCHING",
- "preferences": {
- "degreePref": true,
- "agePref": true,
- "genderPref": true
}
}{- "requestID": "e4619679-f5d9-4eff-9f79-bbded6130bb1",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "date": "2019-08-24",
- "timeslot": [
- 1
], - "location": "GARCHING",
- "preferences": {
- "degreePref": true,
- "agePref": true,
- "genderPref": true
}, - "status": "PENDING"
}Retrieve all matches for a user with {user-id} from the matching-service
| user-id required | string <uuid> UUID associated with a given user |
{- "matches": [
- {
- "matchID": "6832a21f-4dc8-43fb-b3db-b17455998d91",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "status": "UNSENT",
- "group": {
- "groupID": "ec414289-a6cd-4a76-a6d7-c7f42c7f1517",
- "date": "2019-08-24",
- "time": 1,
- "location": "GARCHING",
- "userStatus": [
- {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "status": "UNSENT"
}, - {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "status": "UNSENT"
}
], - "conversationStarters": {
- "conversationsStarters": [
- {
- "prompt": "string"
}
]
}
}
}
]
}Retrieve all MatchRequests for a user with {user-id} from the matching-service
| user-id required | string <uuid> UUID associated with a given user |
{- "requests": [
- {
- "requestID": "e4619679-f5d9-4eff-9f79-bbded6130bb1",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "date": "2019-08-24",
- "timeslot": [
- 1
], - "location": "GARCHING",
- "preferences": {
- "degreePref": true,
- "agePref": true,
- "genderPref": true
}, - "status": "PENDING"
}
]
}Update all information in the MatchRequest with ID {request-id}
| request-id required | string <uuid> UUID associated with a given match request |
| date | string <date> The date a user would like meet@mensa to find them a match | ||||||
| timeslot | Array of integers (timeslot) [ items [ 1 .. 16 ] ] | ||||||
| location | any (location) Enum: "GARCHING" "ARCISSTR" Enumerator representing a mensa at which a meet can happen
| ||||||
object (MatchPreferences) Object Representing a set of user preferences |
{- "date": "2019-08-24",
- "timeslot": [
- 1
], - "location": "GARCHING",
- "preferences": {
- "degreePref": true,
- "agePref": true,
- "genderPref": true
}
}{- "requestID": "e4619679-f5d9-4eff-9f79-bbded6130bb1",
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "date": "2019-08-24",
- "timeslot": [
- 1
], - "location": "GARCHING",
- "preferences": {
- "degreePref": true,
- "agePref": true,
- "genderPref": true
}, - "status": "PENDING"
}Submit a match request which will be immediately matched with a group of demo users.
| userID required | string <uuid> (userID) The unique ID of a single student in the Meet@Mensa system. | ||||||
| date required | string <date> The date a user would like meet@mensa to find them a match | ||||||
| timeslot required | Array of integers (timeslot) [ items [ 1 .. 16 ] ] | ||||||
| location required | any (location) Enum: "GARCHING" "ARCISSTR" Enumerator representing a mensa at which a meet can happen
| ||||||
required | object (MatchPreferences) Object Representing a set of user preferences |
{- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "date": "2019-08-24",
- "timeslot": [
- 1
], - "location": "GARCHING",
- "preferences": {
- "degreePref": true,
- "agePref": true,
- "genderPref": true
}
}{- "groupID": "ec414289-a6cd-4a76-a6d7-c7f42c7f1517",
- "date": "2019-08-24",
- "time": 1,
- "location": "GARCHING",
- "userStatus": [
- {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "status": "UNSENT"
}, - {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "status": "UNSENT"
}
], - "conversationStarters": {
- "conversationsStarters": [
- {
- "prompt": "string"
}
]
}
}Fetch all information about user with ID {user-id} from user-service
| user-id required | string <uuid> UUID associated with a given user |
{- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "email": "user@example.com",
- "firstname": "Max",
- "lastname": "Mustermann",
- "birthday": "2019-08-24",
- "gender": "other",
- "degree": "msc_informatics",
- "degreeStart": 2024,
- "interests": [
- "string"
], - "bio": "string"
}Update all information about user with ID {user-id} from user-service
| user-id required | string <uuid> UUID associated with a given user |
string <email> Users's e-mail | |
| firstname | string User's given name |
| lastname | string User's surname |
| birthday | string <date> User's date of birth |
| gender | string Default: "other" User's gender |
| degree | string User's degree program |
| degreeStart | integer [ 2000 .. 2100 ] What year User started their degree |
| interests | Array of strings (interest) Array of a User's interests |
| bio | string Short introduction text written by the user |
{- "email": "user@example.com",
- "firstname": "Max",
- "lastname": "Mustermann",
- "birthday": "2019-08-24",
- "gender": "other",
- "degree": "msc_informatics",
- "degreeStart": 2024,
- "interests": [
- "string"
], - "bio": "string"
}{- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "email": "user@example.com",
- "firstname": "Max",
- "lastname": "Mustermann",
- "birthday": "2019-08-24",
- "gender": "other",
- "degree": "msc_informatics",
- "degreeStart": 2024,
- "interests": [
- "string"
], - "bio": "string"
}Register a new user and respond with it's {user-id}
| authID required | string Auth0 user.sub, used as a unique key |
| email required | string <email> Users's e-mail |
| firstname required | string User's given name |
| lastname required | string User's surname |
| birthday required | string <date> User's date of birth |
| gender required | string Default: "other" User's gender |
| degree required | string User's degree program |
| degreeStart required | integer [ 2000 .. 2100 ] What year User started their degree |
| interests required | Array of strings (interest) Array of a User's interests |
| bio required | string Short introduction text written by the user |
{- "authID": "string",
- "email": "user@example.com",
- "firstname": "Max",
- "lastname": "Mustermann",
- "birthday": "2019-08-24",
- "gender": "other",
- "degree": "msc_informatics",
- "degreeStart": 2024,
- "interests": [
- "string"
], - "bio": "string"
}{- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "email": "user@example.com",
- "firstname": "Max",
- "lastname": "Mustermann",
- "birthday": "2019-08-24",
- "gender": "other",
- "degree": "msc_informatics",
- "degreeStart": 2024,
- "interests": [
- "string"
], - "bio": "string"
}Retrieve a user object based on an Auth0 sub ID
| auth-id required | string User's Auth0 sub ID |
{- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "email": "user@example.com",
- "firstname": "Max",
- "lastname": "Mustermann",
- "birthday": "2019-08-24",
- "gender": "other",
- "degree": "msc_informatics",
- "degreeStart": 2024,
- "interests": [
- "string"
], - "bio": "string"
}{- "users": [
- {
- "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa",
- "email": "user@example.com",
- "firstname": "Max",
- "lastname": "Mustermann",
- "birthday": "2019-08-24",
- "gender": "other",
- "degree": "msc_informatics",
- "degreeStart": 2024,
- "interests": [
- "string"
], - "bio": "string"
}
]
}