toggle menu
crypto-trader-api
JVM
switch theme
search in API
crypto-trader-api
/
org.cryptotrader.api.controller
/
CurrencyController
/
getHistory
get
History
@
PermitAll
@
GetMapping
(
value
=
"/history/{code}"
)
open
fun
getHistory
(
@
PathVariable
(
value
=
"code"
)
code
:
String
,
@
RequestParam
(
value
=
"hours"
,
defaultValue
=
"24"
)
hours
:
Int
,
@
RequestParam
(
value
=
"intervalSeconds"
,
defaultValue
=
"60"
)
intervalSeconds
:
Int
)
:
ResponseEntity
<
List
<
TimeValueResponse
>
>