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
feat(api-v2): Add route for changing GUI order of cardinalities #1850
Conversation
…, unescape when returning response
# Conflicts: # webapi/src/main/scala/org/knora/webapi/messages/StringFormatter.scala # webapi/src/main/scala/org/knora/webapi/messages/admin/responder/listsmessages/ListsMessagesADM.scala
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks.
| "owl:onProperty": { | ||
| "@id" : "anything:hasNothingness" | ||
| }, | ||
| "salsah-gui:guiOrder": 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix this indentation.
Put("/v2/ontologies/guiorder", HttpEntity(RdfMediaTypes.`application/ld+json`, params)) ~> addCredentials( | ||
BasicHttpCredentials(anythingUsername, password)) ~> ontologiesPath ~> check { | ||
assert(status == StatusCodes.OK, response.toString) | ||
val responseJsonDoc = responseToJsonLDDocument(response) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please also add the response to the client test data as change-gui-order-response.json
resolves DSP-1546