Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
82b4a802
Commit
82b4a802
authored
Jul 21, 2020
by
Manuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restGateway: renamed 'rest' to 'routes'
parent
6d635852
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
swagger.yml
src/rest-gateway/app/configs/swagger.yml
+8
-8
blockchain_trace.py
src/rest-gateway/app/routes/blockchain_trace.py
+0
-0
debug.py
src/rest-gateway/app/routes/debug.py
+0
-0
user.py
src/rest-gateway/app/routes/user.py
+0
-0
No files found.
src/rest-gateway/app/configs/swagger.yml
View file @
82b4a802
...
...
@@ -22,7 +22,7 @@ paths:
get
:
security
:
-
JwtRegular
:
[]
operationId
:
"
r
est
.user.secret"
operationId
:
"
r
outes
.user.secret"
tags
:
-
"
User"
summary
:
"
Testpage
for
authentication"
...
...
@@ -34,7 +34,7 @@ paths:
description
:
"
No
or
an
invalid
token
was
provided"
/tokens/{token}
:
post
:
operationId
:
"
r
est
.user.verify"
operationId
:
"
r
outes
.user.verify"
tags
:
-
"
User"
summary
:
"
Verifies
a
user
token"
...
...
@@ -52,7 +52,7 @@ paths:
description
:
"
Invalid
token"
/tokens
:
post
:
operationId
:
"
r
est
.user.authenticate"
operationId
:
"
r
outes
.user.authenticate"
tags
:
-
"
User"
summary
:
"
Authenticates
user
at
the
backend"
...
...
@@ -74,7 +74,7 @@ paths:
delete
:
security
:
-
JwtAdmin
:
[]
operationId
:
"
r
est
.user.delete"
operationId
:
"
r
outes
.user.delete"
tags
:
-
"
User"
summary
:
"
Deletes
a
user
identified
by
the
username
from
the
database"
...
...
@@ -94,7 +94,7 @@ paths:
get
:
security
:
-
JwtAdmin
:
[]
operationId
:
"
r
est
.user.all"
operationId
:
"
r
outes
.user.all"
tags
:
-
"
User"
summary
:
"
Retrieves
all
users
from
the
database"
...
...
@@ -109,7 +109,7 @@ paths:
'
400'
:
description
:
wrong username or password
post
:
operationId
:
"
r
est
.user.add"
operationId
:
"
r
outes
.user.add"
tags
:
-
"
User"
summary
:
"
Adds
a
new
user
to
the
database"
...
...
@@ -135,7 +135,7 @@ paths:
/debug
:
post
:
operationId
:
"
r
est
.debug.echo"
operationId
:
"
r
outes
.debug.echo"
tags
:
-
"
Echo"
summary
:
"
Echo
function
for
debugging
purposes"
...
...
@@ -152,7 +152,7 @@ paths:
/trace
:
post
:
operationId
:
"
r
est
.blockchain_trace.receive"
operationId
:
"
r
outes
.blockchain_trace.receive"
tags
:
-
"
Blockchain
Trace"
summary
:
"
Add
a
new
blockchain
trace
to
SMART"
...
...
src/rest-gateway/app/r
est
/blockchain_trace.py
→
src/rest-gateway/app/r
outes
/blockchain_trace.py
View file @
82b4a802
File moved
src/rest-gateway/app/r
est
/debug.py
→
src/rest-gateway/app/r
outes
/debug.py
View file @
82b4a802
File moved
src/rest-gateway/app/r
est
/user.py
→
src/rest-gateway/app/r
outes
/user.py
View file @
82b4a802
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment