portfolio
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
portfolio
portfolio
/
org.project.portfolio.common.storage
/
ImgBB
Img
BB
@
Component
@
Profile
(
value
=
[
"prod"
,
"local"
]
)
class
ImgBB
(
@
Value
(
value
=
"${storage.imgbb.api-key}"
)
apiKey
:
String
)
:
StorageService
Members
Constructors
Img
BB
Link copied to clipboard
constructor
(
@
Value
(
value
=
"${storage.imgbb.api-key}"
)
apiKey
:
String
)
Types
Img
BBClient
Link copied to clipboard
@
HttpExchange
(
url
=
"https://api.imgbb.com/1"
)
interface
ImgBBClient
Functions
upload
File
Link copied to clipboard
open
override
fun
uploadFile
(
file
:
MultipartFile
)
:
String