lib/losant_rest/events.rb in losant_rest-1.12.0 vs lib/losant_rest/events.rb in losant_rest-1.13.0

- old
+ new

@@ -1,8 +1,8 @@ # The MIT License (MIT) # -# Copyright (c) 2020 Losant IoT, Inc. +# Copyright (c) 2021 Losant IoT, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell @@ -138,11 +138,11 @@ # * {string} page - Which page of results to return # * {string} perPage - How many items to return per page # * {string} filterField - Field to filter the results by. Blank or not provided means no filtering. Accepted values are: subject # * {string} filter - Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. # * {string} state - If provided, return events only in the given state. Accepted values are: new, acknowledged, resolved - # * {hash} query - Event filter JSON object which overides the filterField, filter, and state parameters. (https://api.losant.com/#/definitions/advancedEventQuery) + # * {hash} query - Event filter JSON object which overrides the filterField, filter, and state parameters. (https://api.losant.com/#/definitions/advancedEventQuery) # * {string} losantdomain - Domain scope of request (rarely needed) # * {boolean} _actions - Return resource actions in response # * {boolean} _links - Return resource link in response # * {boolean} _embedded - Return embedded resources in response # @@ -193,11 +193,11 @@ # all.Application, all.Application.read, all.Organization, all.Organization.read, all.User, all.User.read, events.*, or events.mostRecentBySeverity. # # Parameters: # * {string} applicationId - ID associated with the application # * {string} filter - Filter to apply against event subjects. Supports globbing. Blank or not provided means no filtering. - # * {hash} query - Event filter JSON object which overides the filter parameter. (https://api.losant.com/#/definitions/advancedEventQuery) + # * {hash} query - Event filter JSON object which overrides the filter parameter. (https://api.losant.com/#/definitions/advancedEventQuery) # * {string} losantdomain - Domain scope of request (rarely needed) # * {boolean} _actions - Return resource actions in response # * {boolean} _links - Return resource link in response # * {boolean} _embedded - Return embedded resources in response # @@ -243,10 +243,10 @@ # Parameters: # * {string} applicationId - ID associated with the application # * {string} filterField - Field to filter the events to act on by. Blank or not provided means no filtering. Accepted values are: subject # * {string} filter - Filter to apply against the filtered field. Supports globbing. Blank or not provided means no filtering. # * {string} state - If provided, act on events only in the given state. Accepted values are: new, acknowledged, resolved - # * {hash} query - Event filter JSON object which overides the filterField, filter, and state parameters. (https://api.losant.com/#/definitions/advancedEventQuery) + # * {hash} query - Event filter JSON object which overrides the filterField, filter, and state parameters. (https://api.losant.com/#/definitions/advancedEventQuery) # * {hash} updates - Object containing updated information for the events (https://api.losant.com/#/definitions/eventPatch) # * {string} losantdomain - Domain scope of request (rarely needed) # * {boolean} _actions - Return resource actions in response # * {boolean} _links - Return resource link in response # * {boolean} _embedded - Return embedded resources in response