@RestController
@RequestMapping(value="/v1/{tenant}/books")
@ConditionalOnBean(value=BooksConfiguration.class)
public class BookRoute
extends Object
| Constructor and Description |
|---|
BookRoute() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> |
executeBook(String tenant,
String jsonBody)
Execute Book
|
org.springframework.http.ResponseEntity<String> |
listAll(String tenant) |
org.springframework.http.ResponseEntity<Book> |
listOne(String tenant,
String bookId) |
@PostMapping(value="/execute",
consumes="application/json",
produces="application/json")
public org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> executeBook(@PathVariable
String tenant,
@RequestBody
String jsonBody)
throws IOException
IOException@GetMapping(value="/{bookId}",
produces="application/json")
public org.springframework.http.ResponseEntity<Book> listOne(@PathVariable
String tenant,
@PathVariable
String bookId)
Copyright © 2023. All rights reserved.