Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoBackendAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Backend
DojoBackendAPI
Compare revisions
ce33884d8f2e8b96565a1b6bfbcdd2c6b5d378e6 to cdc0accc1349e8146f2eff57f7b5e53481a3065a
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
dojo_project/projects/backend/dojobackendapi
Select target project
No results found
cdc0accc1349e8146f2eff57f7b5e53481a3065a
Select Git revision
Branches
add_route_assignments
ask-user-to-delete-exercises-on-duplicates
bedran_exercise-list
jw_sonar
jw_sonar_backup
main
update-dependencies
v6.0.0
Tags
2.0.0
2.1.0
2.2.0
3.0.0
3.0.1
3.1.0
3.1.1
3.1.2
3.1.3
3.2.0
3.3.0
3.4.0
3.4.1
3.4.2
3.5.0
3.5.1
3.5.2
3.5.3
4.0.0
4.1.0
5.0.0
5.0.1
6.0.0-dev
v1.0.1
32 results
Swap
Target
dojo_project/projects/backend/dojobackendapi
Select target project
Dojo_Project_Nguyen/backend/dojobackendapi
dojo_project/projects/backend/dojobackendapi
2 results
ce33884d8f2e8b96565a1b6bfbcdd2c6b5d378e6
Select Git revision
Branches
add_route_assignments
ask-user-to-delete-exercises-on-duplicates
bedran_exercise-list
jw_sonar
jw_sonar_backup
main
update-dependencies
v6.0.0
Tags
2.0.0
2.1.0
2.2.0
3.0.0
3.0.1
3.1.0
3.1.1
3.1.2
3.1.3
3.2.0
3.3.0
3.4.0
3.4.1
3.4.2
3.5.0
3.5.1
3.5.2
3.5.3
4.0.0
4.1.0
5.0.0
5.0.1
6.0.0-dev
v1.0.1
32 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
OpenAPI => Add documentation of clients_config route
· cdc0accc
michael.minelli
authored
7 months ago
cdc0accc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.idea/material_theme_project_new.xml
+8
-1
8 additions, 1 deletion
.idea/material_theme_project_new.xml
ExpressAPI/assets/OpenAPI/OpenAPI.yaml
+41
-3
41 additions, 3 deletions
ExpressAPI/assets/OpenAPI/OpenAPI.yaml
with
49 additions
and
4 deletions
.idea/material_theme_project_new.xml
View file @
cdc0accc
...
...
@@ -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
This diff is collapsed.
Click to expand it.
ExpressAPI/assets/OpenAPI/OpenAPI.yaml
View file @
cdc0accc
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
:
...
...
This diff is collapsed.
Click to expand it.