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