mirror of
https://github.com/Qortal/qortal.git
synced 2025-04-23 19:37:51 +00:00
Renamed API calls from "voting" to "polls"
This commit is contained in:
parent
5bbde4dcdb
commit
23ec71d7be
@ -38,9 +38,9 @@ import javax.ws.rs.QueryParam;
|
|||||||
import org.qortal.api.ApiException;
|
import org.qortal.api.ApiException;
|
||||||
import org.qortal.data.voting.PollData;
|
import org.qortal.data.voting.PollData;
|
||||||
|
|
||||||
@Path("/Voting")
|
@Path("/polls")
|
||||||
@Tag(name = "Voting")
|
@Tag(name = "Polls")
|
||||||
public class VotingResource {
|
public class PollsResource {
|
||||||
@Context
|
@Context
|
||||||
HttpServletRequest request;
|
HttpServletRequest request;
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ public class VotingResource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@POST
|
@POST
|
||||||
@Path("/CreatePoll")
|
@Path("/create")
|
||||||
@Operation(
|
@Operation(
|
||||||
summary = "Build raw, unsigned, CREATE_POLL transaction",
|
summary = "Build raw, unsigned, CREATE_POLL transaction",
|
||||||
requestBody = @RequestBody(
|
requestBody = @RequestBody(
|
||||||
@ -149,7 +149,7 @@ public class VotingResource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@POST
|
@POST
|
||||||
@Path("/VoteOnPoll")
|
@Path("/vote")
|
||||||
@Operation(
|
@Operation(
|
||||||
summary = "Build raw, unsigned, VOTE_ON_POLL transaction",
|
summary = "Build raw, unsigned, VOTE_ON_POLL transaction",
|
||||||
requestBody = @RequestBody(
|
requestBody = @RequestBody(
|
Loading…
x
Reference in New Issue
Block a user