Interface ContestAPI
- All Known Implementing Classes:
ContestsWebClientImpl
public interface ContestAPI
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>
containsContest
(int id) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ContestDTO>>
createContest
(ContestDTO contest) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>
deleteContest
(int id) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ContestDTO>>
getContest
(int id) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ContestListDTO>>
getContests
(Integer offset, Integer limit) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>>
updateContest
(int id, ContestDTO contest)
-
Field Details
-
CONTESTS_PATH
- See Also:
-
CONTEST_PATH
- See Also:
-
-
Method Details
-
getContests
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ContestListDTO>> getContests(Integer offset, Integer limit) -
createContest
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ContestDTO>> createContest(ContestDTO contest) -
updateContest
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> updateContest(int id, ContestDTO contest) -
containsContest
-
getContest
-
deleteContest
-
deleteAllContests
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> deleteAllContests()
-