| user-id required | string <uuid> UUID associated with a given user
@@ -512,7 +512,7 @@
" class="sc-eVqvcJ sc-fszimp sc-etsjJW kIppRw jnwENr ljKHqG"> The requested resource was not found.
/api.meetatmensa.com/api/v2/matching/matches/{user-id} Response samples Content typeapplication/json {"matches": [{"matchID": "6832a21f-4dc8-43fb-b3db-b17455998d91", "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa", "status": "UNSENT", } ] }Retrieve all MatchRequests for a {user-id} /api.meetatmensa.com/api/v2/matching/matches/{user-id} Response samples Content typeapplication/json {"matches": [{"matchID": "6832a21f-4dc8-43fb-b3db-b17455998d91", "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa", "status": "UNSENT", } ] }Retrieve all MatchRequests for a {user-id} Retrieve all MatchRequests for a user with {user-id} from the matching-service
path Parameters| user-id required | string <uuid> UUID associated with a given user
@@ -526,7 +526,7 @@
" class="sc-eVqvcJ sc-fszimp sc-etsjJW kIppRw jnwENr ljKHqG"> The requested resource was not found.
/api.meetatmensa.com/api/v2/matching/requests/{user-id} Response samples Content typeapplication/json {"requests": [{"requestID": "e4619679-f5d9-4eff-9f79-bbded6130bb1", "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa", "date": "2019-08-24", "location": "GARCHING", "preferences": {"degreePref": true, "agePref": true, "genderPref": true }, "status": "PENDING" } ] }Delete MatchRequest with {request-id} /api.meetatmensa.com/api/v2/matching/requests/{user-id} Response samples Content typeapplication/json {"requests": [{"requestID": "e4619679-f5d9-4eff-9f79-bbded6130bb1", "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa", "date": "2019-08-24", "location": "GARCHING", "preferences": {"degreePref": true, "agePref": true, "genderPref": true }, "status": "PENDING" } ] }Delete MatchRequest with {request-id} Delete MatchRequest with ID {request-id} from the system
path Parameters| request-id required | string <uuid> UUID associated with a given match request
@@ -594,7 +594,7 @@
" class="sc-eVqvcJ sc-fszimp sc-etsjJW kIppRw jnwENr ljKHqG"> MatchRequest cannot be updated since it has already been fulfilled!
/api.meetatmensa.com/api/v2/matching/request/{request-id} Request samples Content typeapplication/json {"date": "2019-08-24", "location": "GARCHING", "preferences": {"degreePref": true, "agePref": true, "genderPref": true } } Response samples Content typeapplication/json {"requestID": "e4619679-f5d9-4eff-9f79-bbded6130bb1", "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa", "date": "2019-08-24", "location": "GARCHING", "preferences": {"degreePref": true, "agePref": true, "genderPref": true }, "status": "PENDING" }Accept invitation to a given match /api.meetatmensa.com/api/v2/matching/request/{request-id} Request samples Content typeapplication/json {"date": "2019-08-24", "location": "GARCHING", "preferences": {"degreePref": true, "agePref": true, "genderPref": true } } Response samples Content typeapplication/json {"requestID": "e4619679-f5d9-4eff-9f79-bbded6130bb1", "userID": "2c3821b8-1cdb-4b77-bcd8-a1da701e46aa", "date": "2019-08-24", "location": "GARCHING", "preferences": {"degreePref": true, "agePref": true, "genderPref": true }, "status": "PENDING" }Accept invitation to a given match Accept invitation to a given match
path Parameters| match-id required | string <uuid> UUID associated with a given match
@@ -618,7 +618,55 @@
" class="sc-eVqvcJ sc-fszimp sc-etsjJW kIppRw jnwENr ljKHqG"> The requested resource was not found.
/api.meetatmensa.com/api/v2/matching/rsvp/{match-id}/reject /api.meetatmensa.com/api/v2/matching/rsvp/{match-id}/reject Create demo request Submit a match request which will be immediately matched with a group of demo users.
+ Request Body schema: application/json| 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
+
+
+
+| Value |
+Description |
+
+
+
+| GARCHING |
+The Mensa at the TUM Garching Campus |
+
+
+| ARCISSTR |
+The Mensa at the TUM Innenstadt Campus (Arcisstr. 21) |
+
+
+ | required | object (MatchPreferences) Object Representing a set of user preferences
+ |
Responses/api.meetatmensa.com/api/v2/matching/demo Request samples Content typeapplication/json Response samples Content typeapplication/json Paths belonging to the User microservice
Retrieve User with {user-id} Fetch all information about user with ID {user-id} from user-service
@@ -724,9 +772,15 @@
" class="sc-eVqvcJ sc-fszimp sc-etsjJW kIppRw jnwENr ljKHqG"> Forbidden
/api.meetatmensa.com/api/v2/user/me/{auth-id} Response samples Content typeapplication/json {"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, "bio": "string" }
+/api.meetatmensa.com/api/v2/user/me/{auth-id} Response samples Content typeapplication/json {"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, "bio": "string" }Get demo users Return 3 demo-users in a UserCollection
+ /api.meetatmensa.com/api/v2/users/demo Response samples Content typeapplication/json {"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, "bio": "string" } ] }
|
|
|
|