API.Put¶
-
static class
Put
¶
Methods¶
event¶
PUT to the server a request, via
/event/new
, to update anEvent
. Success or failure status will be passed via aNetworkResponse
to the listener.Parameters: - queue – Queue to which the asynchronous task will be added
- event – Updated version of the
Event
to change - listener – Listener whose onResponse method will be called when task completes
post¶
PUT to the server, via
/user/users
, a request to make changes aorg.codethechange.culturemesh.models.Post
. Success or failure status will be passed via aNetworkResponse
to the listener.Parameters: - queue – Queue to which the asynchronous task will be added
- post – Updated version of the post to change
- listener – Listener whose onResponse method will be called when task completes
reply¶
PUT to the server a request, via
/post/{postId}/reply
, to update aPostReply
. Success or failure status will be passed via aNetworkResponse
to the listener.Parameters: - queue – Queue to which the asynchronous task will be added
- comment – Updated version of the
PostReply
to make changes to - listener – Listener whose onResponse method will be called when task completes
user¶
PUT to the server, via
/user/users
, a request to make changes aUser
. Success or failure status will be passed via aNetworkResponse
to the listener.Parameters: - queue – Queue to which the asynchronous task will be added
- user – Updated version of the user to change
- email – User’s email address
- listener – Listener whose onResponse method will be called when task completes