lib/losant_rest/events.rb in losant_rest-1.17.1 vs lib/losant_rest/events.rb in losant_rest-1.17.2
- old
+ new
@@ -92,11 +92,11 @@
# * {boolean} _actions - Return resource actions in response
# * {boolean} _links - Return resource link in response
# * {boolean} _embedded - Return embedded resources in response
#
# Responses:
- # * 200 - If generation of export was successfully started (https://api.losant.com/#/definitions/success)
+ # * 202 - If generation of export was successfully started (https://api.losant.com/#/definitions/jobEnqueuedResult)
#
# Errors:
# * 400 - Error if malformed request (https://api.losant.com/#/definitions/error)
# * 404 - Error if application was not found (https://api.losant.com/#/definitions/error)
def export(params = {})
@@ -251,10 +251,11 @@
# * {boolean} _actions - Return resource actions in response
# * {boolean} _links - Return resource link in response
# * {boolean} _embedded - Return embedded resources in response
#
# Responses:
- # * 200 - If the bulk update has been successfully started (https://api.losant.com/#/definitions/success)
+ # * 200 - If the bulk update has been completed (https://api.losant.com/#/definitions/success)
+ # * 202 - If a bulk update job has been enqueued (https://api.losant.com/#/definitions/jobEnqueuedResult)
#
# Errors:
# * 400 - Error if malformed request (https://api.losant.com/#/definitions/error)
# * 404 - Error if application is not found (https://api.losant.com/#/definitions/error)
def patch(params = {})