Releases: HiberGlobal/api
API version 0.10
0.10 (2018-09-21)
(Copied from CHANGELOG.md)
Changes
EventService
- [B] We've introduced bundled events, which is the new default for event listing.
Webhooks and the events in the event stream are unaffected. - [B] An event bundle is a small object with event type, count, last event time and title and description.
If you've previously just displayed title and description, you can use the new title and description. - [B] The frequency of events can vary greatly per type, resulting in unclear pagination and some event types overshadowing
others. For this reason, events are bundled by default, reducing them to a count per event type.
If unbundled events for certain types are required, this can be toggled in the selection object.
Pagination is only applied to unbundled events, and is applied per event type. This may result in a non-lineair
timeline from page to page when selecting two types with a large difference in frequency, but makes sure you
see the most recent events of each type on the first page. - [B] Removed the option to pre-load events for the event stream. Please use the list call for this instead.
DashboardService
- [B] Related to event bundling, the dashboard now returns bundled error events, instead of individual errors.
ModemService
- Added support for custom antennas.
To set a custom antenna, set the antenna type to custom and fill in the custom_antenna text field.
TestingService
- Added call to send a message from a modems debug port directly to the api.
The server will then parse it as if received from the modem.
On the production environment, it will be flagged as a test message,
which means some validation is disabled and consequences are ignored.
WebhookService
- Updated the UpdateWebhookRequest to be able to update relevant webhook data in one request.
API version 0.8
0.8 (2018-07-26)
(Copied from CHANGELOG.md)
Changes
- Renamed
Account
toOrganization
, since it was causing confusion withUser
(This change is backwards compatible, since the field numbers did not change). - Consistently using
snake_case
for naming.
AccountService
- Renamed to
OrganizationService
.
CurrentUserService
- Added
CurrentUser.Settings
and an update rpc underCurrentUserService
, used by the web application. - Added an rpc under
CurrentUserService
to cancel an access request. - Added an rpc under
CurrentUserService
to update your default organization, to be used by the web application.
DashboardService
- Added
time_zone_offset
to customize the timezone used for date grouping. - [B] Changed the return field
message_count_per_day
to be aMessageCount
instead of amap<string, in32>
, which was unclear.
See the ModemService changes for more details.
EventService
- Added events related to modem transferring and claiming.
ModemService
-
[B] Removed a few fields from the
Modem
object:chip_id
,message_format_version
,payload_template
fromModem.TechnicalData
: this data was determined to be either too sensitive or irrelevant.payload_template
fromModem.TechnicalData
: this feature is not available yet; the field may be restored when it is.license_key
fromModem.ActiveSubscription
: this was moved to separate request inModemService
.
-
Renamed
guard_period
tomaximum_inactivity_period
after customer feedback. -
Added
peripherals
onModem
with peripheral information, and theUpdatePeripherals
rpc onModemService
to update this data. -
Added
status
onModem
with statuses such asactive
ordead
.
Added filtering on status toModemSelection
as well. -
Added
transfer
onModem
with transfer information if the modem is in a transfer.
Added filtering by transfer onModemSelection
as well.
SeeModemTransferService
for more information on transfers. -
Added
LicenseKeys
rpc onModemService
to get the license key for modems. -
Renamed
time
tosent_at
and addedreceived_at
on ModemMessage. -
[B] Changed
MessageCountRequest.Response.message_count_per_day
to be aMessageCount
instead of amap<string, in32>
, which was unclear.
The result is effectively the same data, sinceMessageCount
is simple a pair ofDate
toint32
, but the types are a lot clearer. -
Added
time_zone_offset
toMessageCountRequest
to customize the timezone used for date grouping. -
[B] Removed the
UpdatePayloadTemplate
rpc, since it was related to the removed field. -
- Removed
TagSelection
that was used to filter displayed tags in many requests, since it would likely never be used.
- Removed
ModemClaimService
- Added the
ModemClaimService
, which handles the claiming of a modem by number and verification number.
ModemTransferService & ModemTransferReturnService
- Added the
ModemTranferService
, which handles the transferring of modems to different organizations. - Added the
ModemTranferReturnService
, which handles the returning of modems that were transferred to your organization.
OrganizationService
- Added
Create
rpc call to create child organizations. - Added
Delete
andDeleteConfirmation
for organization deletion. - Added
ListChildOrganizations
andTree
rcps to display child organizations. Update
also works on child organization.
TagService
- [B] Removed color from tags.
TestingService
- [B] Removed
PushModemMessagesRequest.Response.messages_sent
, since it did not contain any useful information.
UserService
- Added sorting to
List
andListAccessRequests
rpcs, using the newUserSort
enum. - [B] Altered
ApproveUserRequest
andRemoveUserRequest
to accept multiple user ids.
WebhookService
- Removed
TagSelection
that was used to filter displayed tags in many requests, since it would likely never be used.
Backwards incompatible changes
Backwards incompatible changes are marked with the [B] marker.
This way, you can easily see which, if any, changes could require some work.
Since these changes have been made during the pilot period,
backwards compatibility has not been as strictly enforced as we would normally.
From the list above, these changes are not (fully) backwards compatible:
- The
message_count_per_day
field type has changed, inModemService
andDashboardService
. - Removed
chip_id
,message_format_version
,payload_template
,payload_template
andlicense_key
fromModem
, and theUpdatePayloadTemplate
rpc related topayload_template
. - Removed color from tags.
- Removed
messages_sent
fromPushModemMessagesRequest.Response
inTestingService
. - Altered
user_id
inApproveUserRequest
andRemoveUserRequest
to be an array.