-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rest API for tanks #5
Milestone
Comments
StefanSchubert
added a commit
that referenced
this issue
Dec 28, 2016
StefanSchubert
added a commit
that referenced
this issue
Dec 31, 2016
StefanSchubert
added a commit
that referenced
this issue
Jan 3, 2017
StefanSchubert
added a commit
that referenced
this issue
Jun 16, 2017
StefanSchubert
added a commit
that referenced
this issue
Jun 16, 2017
StefanSchubert
added a commit
that referenced
this issue
Jun 16, 2017
fixes #8 swagger config. API-DOC is now available
Merged
StefanSchubert
added a commit
that referenced
this issue
Jan 14, 2018
fixes #5, #28 * Fixed WebSecurity Config to handle TankController correctly (auth realm required) * AuthorizationFilter works as expected. Accessing Principal in Controller also works. * Adding rest test / unauthorized case still buggy * implemented create tank * implemented update tank * implemented get tank * implemented remove tank and fixed rest api according to verbs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(pre condition - valid token in Request header)
@path("/tank/list")
@get
@produces("application/json")
JsonObject listTanks()
result: OK
tanks : [
{
"id":"1",
"name":"MyMiniReef"
},
{
"id":"2",
"name":"MyBigReef"
}
]
@path("/tank/create")
@post
@consumes("application/json")
@produces("application/json")
JsonObject createTank(JsonObject psJson) # tank: name
The text was updated successfully, but these errors were encountered: