public interface ServiceRoles
Modifier and Type | Method and Description |
---|---|
io.reactivex.Flowable<CMARole> |
create(java.lang.String spaceId,
CMARole role) |
io.reactivex.Flowable<retrofit2.Response<java.lang.Void>> |
delete(java.lang.String spaceId,
java.lang.String roleId) |
io.reactivex.Flowable<CMAArray<CMARole>> |
fetchAll(java.lang.String spaceId) |
io.reactivex.Flowable<CMAArray<CMARole>> |
fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query) |
io.reactivex.Flowable<CMARole> |
fetchOne(java.lang.String spaceId,
java.lang.String roleId) |
io.reactivex.Flowable<CMARole> |
update(java.lang.String spaceId,
java.lang.String roleId,
CMARole role,
java.lang.Integer version) |
@GET(value="/spaces/{spaceId}/roles") io.reactivex.Flowable<CMAArray<CMARole>> fetchAll(@Path(value="spaceId") java.lang.String spaceId)
@GET(value="/spaces/{spaceId}/roles") io.reactivex.Flowable<CMAArray<CMARole>> fetchAll(@Path(value="spaceId") java.lang.String spaceId, @QueryMap java.util.Map<java.lang.String,java.lang.String> query)
@GET(value="/spaces/{spaceId}/roles/{roleId}") io.reactivex.Flowable<CMARole> fetchOne(@Path(value="spaceId") java.lang.String spaceId, @Path(value="roleId") java.lang.String roleId)
@POST(value="/spaces/{spaceId}/roles/") io.reactivex.Flowable<CMARole> create(@Path(value="spaceId") java.lang.String spaceId, @Body CMARole role)
@PUT(value="/spaces/{spaceId}/roles/{roleId}") io.reactivex.Flowable<CMARole> update(@Path(value="spaceId") java.lang.String spaceId, @Path(value="roleId") java.lang.String roleId, @Body CMARole role, @Header(value="X-Contentful-Version") java.lang.Integer version)
@DELETE(value="/spaces/{spaceId}/roles/{roleId}") io.reactivex.Flowable<retrofit2.Response<java.lang.Void>> delete(@Path(value="spaceId") java.lang.String spaceId, @Path(value="roleId") java.lang.String roleId)
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.