
org.infobip.mobile.messaging.api.version.MobileApiVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infobip-mobile-messaging-api-java Show documentation
Show all versions of infobip-mobile-messaging-api-java Show documentation
Mobile Messaging SDK for Android
The newest version!
package org.infobip.mobile.messaging.api.version;
import org.infobip.mobile.messaging.api.support.Generator;
import org.infobip.mobile.messaging.api.support.http.ApiKey;
import org.infobip.mobile.messaging.api.support.http.HttpRequest;
import org.infobip.mobile.messaging.api.support.http.Query;
import org.infobip.mobile.messaging.api.support.http.Version;
import org.infobip.mobile.messaging.api.support.http.client.HttpMethod;
/**
* Mobile API to retrieve details of latest library release.
*
* Usage:
*
{@code
* MobileApiVersion mobileApiLibraryVersion = new Generator.Builder().build().create(MobileApiVersion.class);
* }
*
* @author sslavin
* @see Generator
* @see Generator.Builder
* @since 03.10.2016.
*/
@Version("3")
@ApiKey("${api.key}")
@HttpRequest("/mobile/{version}")
public interface MobileApiVersion {
/**
* Retrieves latest library release version from the server.
*
* @return {@link LatestReleaseResponse}
*/
@HttpRequest(method = HttpMethod.GET, value = "version")
@Query(name = "platformType", value = "${platform.type:GCM}")
LatestReleaseResponse getLatestRelease();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy