@@ -1157,6 +1157,33 @@ paths:
11571157 summary : Get Application By User and Event ID
11581158 tags :
11591159 - Application
1160+ /events/{eventId}/application/download-resume :
1161+ get :
1162+ description : This handler creates a presigned S3 URL with GET permission for
1163+ the user's specific object, which is their uploaded resume. The client can
1164+ use this URL to download the object.
1165+ responses :
1166+ " 200 " :
1167+ content :
1168+ application/json :
1169+ schema :
1170+ type : string
1171+ description : OK
1172+ " 400 " :
1173+ content :
1174+ application/json :
1175+ schema :
1176+ $ref : ' #/components/schemas/response.ErrorResponse'
1177+ description : Bad request/Malformed request.
1178+ " 500 " :
1179+ content :
1180+ application/json :
1181+ schema :
1182+ $ref : ' #/components/schemas/response.ErrorResponse'
1183+ description : ' Server Error: error handling download resume request'
1184+ summary : Download the user's uploaded resume from their event application
1185+ tags :
1186+ - Application
11601187 /events/{eventId}/application/save :
11611188 post :
11621189 description : Save user's progress on the application. File/Upload fields are
@@ -1876,6 +1903,59 @@ paths:
18761903 summary : Get a team and its members by team id.
18771904 tags :
18781905 - Team
1906+ /teams/{teamId}/members/{userId} :
1907+ delete :
1908+ description : Kicks a member from a team. Only the team owner can perform this
1909+ action.
1910+ parameters :
1911+ - description : The authenticated session token/id
1912+ in : cookie
1913+ name : sh_session_id
1914+ required : true
1915+ schema :
1916+ type : string
1917+ - description : The ID of the team
1918+ in : path
1919+ name : team_id
1920+ required : true
1921+ schema :
1922+ type : string
1923+ - description : The ID of the user to be kicked
1924+ in : path
1925+ name : userId
1926+ required : true
1927+ schema :
1928+ type : string
1929+ responses :
1930+ " 204 " :
1931+ description : Successfully kicked the team member
1932+ " 400 " :
1933+ content :
1934+ application/json :
1935+ schema :
1936+ $ref : ' #/components/schemas/response.ErrorResponse'
1937+ description : ' Bad Request: Missing or malformed parameters.'
1938+ " 401 " :
1939+ content :
1940+ application/json :
1941+ schema :
1942+ $ref : ' #/components/schemas/response.ErrorResponse'
1943+ description : ' Unauthenticated: Requester is not currently authenticated.'
1944+ " 403 " :
1945+ content :
1946+ application/json :
1947+ schema :
1948+ $ref : ' #/components/schemas/response.ErrorResponse'
1949+ description : ' Forbidden: Requester is not allowed to perform this action.'
1950+ " 500 " :
1951+ content :
1952+ application/json :
1953+ schema :
1954+ $ref : ' #/components/schemas/response.ErrorResponse'
1955+ description : Something went wrong.
1956+ summary : Kick a member from a team
1957+ tags :
1958+ - Team
18791959 /teams/{teamId}/members/me :
18801960 delete :
18811961 description : Leaves a team if the requester is on the team. Depends on cookies
0 commit comments