public interface ServiceLocales
Modifier and Type | Method and Description |
---|---|
io.reactivex.Flowable<CMALocale> |
create(java.lang.String spaceId,
java.lang.String environmentId,
CMALocale locale) |
io.reactivex.Flowable<retrofit2.Response<java.lang.Void>> |
delete(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String localeId) |
io.reactivex.Flowable<CMAArray<CMALocale>> |
fetchAll(java.lang.String spaceId,
java.lang.String environmentId) |
io.reactivex.Flowable<CMALocale> |
fetchOne(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String localeId) |
io.reactivex.Flowable<CMALocale> |
update(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String localeId,
CMALocale locale,
java.lang.Integer version) |
@GET(value="/spaces/{spaceId}/environments/{environmentId}/locales") io.reactivex.Flowable<CMAArray<CMALocale>> fetchAll(@Path(value="spaceId") java.lang.String spaceId, @Path(value="environmentId") java.lang.String environmentId)
@GET(value="/spaces/{spaceId}/environments/{environmentId}/locales/{localeId}") io.reactivex.Flowable<CMALocale> fetchOne(@Path(value="spaceId") java.lang.String spaceId, @Path(value="environmentId") java.lang.String environmentId, @Path(value="localeId") java.lang.String localeId)
@POST(value="/spaces/{spaceId}/environments/{environmentId}/locales/") io.reactivex.Flowable<CMALocale> create(@Path(value="spaceId") java.lang.String spaceId, @Path(value="environmentId") java.lang.String environmentId, @Body CMALocale locale)
@PUT(value="/spaces/{spaceId}/environments/{environmentId}/locales/{localeId}") io.reactivex.Flowable<CMALocale> update(@Path(value="spaceId") java.lang.String spaceId, @Path(value="environmentId") java.lang.String environmentId, @Path(value="localeId") java.lang.String localeId, @Body CMALocale locale, @Header(value="X-Contentful-Version") java.lang.Integer version)
@DELETE(value="/spaces/{spaceId}/environments/{environmentId}/locales/{localeId}") io.reactivex.Flowable<retrofit2.Response<java.lang.Void>> delete(@Path(value="spaceId") java.lang.String spaceId, @Path(value="environmentId") java.lang.String environmentId, @Path(value="localeId") java.lang.String localeId)
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.