public interface FeaturedService
| Modifier and Type | Method and Description |
|---|---|
java.util.List<FeaturedObject> |
getFeaturedContent(java.lang.String[] languages)
Provides current featured content for izi.TRAVEL Applications (mobile clients):
promoted or most popular published tours and museums.
|
@GET(value="/featured/mobile") java.util.List<FeaturedObject> getFeaturedContent(@Query(value="languages") java.lang.String[] languages)
The end-point returns only published content in order defined by a featured content publisher (position field reflects the ordering as well). The maximum number of returned objects is 10.
If there is no set defined for the first language or there is no published content for the language, the end-point will try to return featured content set for next language, and so forth. If there are no featured content for the set of passed languages, the end-point will try to return set for `en` language.
languages - Array of preferable content languages.