diff --git a/.idea/material_theme_project_new.xml b/.idea/material_theme_project_new.xml index 920abda0193d56ef57d670c01fde14585907eea9..9bdfa3108397a36a6eab8df0940c232f9cfc4458 100644 --- a/.idea/material_theme_project_new.xml +++ b/.idea/material_theme_project_new.xml @@ -3,8 +3,15 @@ <component name="MaterialThemeProjectNewConfig"> <option name="metadata"> <MTProjectMetadataState> - <option name="userId" value="-6f2668ee:1924765eb2a:-7fc3" /> + <option name="migrated" value="true" /> + <option name="pristineConfig" value="false" /> + <option name="userId" value="104e8585:19002424fea:-7ffe" /> </MTProjectMetadataState> </option> + <option name="titleBarState"> + <MTProjectTitleBarConfigState> + <option name="overrideColor" value="false" /> + </MTProjectTitleBarConfigState> + </option> </component> </project> \ No newline at end of file diff --git a/ExpressAPI/assets/OpenAPI/OpenAPI.yaml b/ExpressAPI/assets/OpenAPI/OpenAPI.yaml index 23d099e0a7b64cb6a9bff5c5fe886336cbe3d1d8..a1da612e2b238b3f285d14fa2f115b2c69bb716d 100644 --- a/ExpressAPI/assets/OpenAPI/OpenAPI.yaml +++ b/ExpressAPI/assets/OpenAPI/OpenAPI.yaml @@ -1,7 +1,7 @@ openapi: 3.1.0 info: title: Dojo API - version: 4.2.0 + version: 5.0.0 description: | **Backend API of the Dojo project.** @@ -46,8 +46,46 @@ paths: schema: $ref: '#/components/schemas/DojoBackendResponse' description: OK - default: - $ref: '#/components/responses/ERROR' + /clients_config: + get: + tags: + - General + summary: Config of the clients + description: This route is used to get the configuration that clients (CLI, Checkers, etc.) need to operate. + responses: + '200': + content: + application/json: + schema: + allOf: + - $ref: '#/components/schemas/DojoBackendResponse' + - type: object + properties: + data: + type: object + properties: + gitlabUrl: + type: string + examples: + - https://gitedu.hesge.ch/ + gitlabAccountId: + type: number + examples: + - 1076 + gitlabAccountUsername: + type: string + examples: + - isc-dojo + loginGitlabClientId: + type: string + examples: + - 262b4d7c215233fa6fc91e70fb387a9314c02472dc3c6d22d6861fe93db6996a + required: + - gitlabUrl + - gitlabAccountId + - gitlabAccountUsername + - loginGitlabClientId + description: OK /login: post: tags: