@Path(value="version") public class VersionResource extends Object
| Constructor and Description |
|---|
VersionResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
version()
Returns the server version string.
|
com.spotify.helios.common.VersionCheckResponse |
versionCheck(String client)
Given the client version, returns the version status, i.e.
|
@GET @Produces(value="text/plain") public String version()
@GET @Path(value="/check") @Produces(value="application/json") public com.spotify.helios.common.VersionCheckResponse versionCheck(@QueryParam(value="client") @DefaultValue(value="") String client)
client - The client version.Copyright © 2017. All rights reserved.