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