Skip to content

Commit

Permalink
0.49
Browse files Browse the repository at this point in the history
  • Loading branch information
wbouvy committed May 18, 2020
1 parent 63b6ccd commit 88faea6
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog Hiber API

### 0.49 (2020-05-18)

This release contains a few minor additions to the API.

#### Changes

##### CurrentUserService

- Added `contact` to `AccessibleOrganizationsRequest.AccessibleOrganization`.

##### ModemService

- Added `UpdateModemStatusRequest` and `ModemService.UpdateStatus` to update the status of a modem.
Modems with the `DEAD` status are hidden from the modem list by default.

#### Bugfixes

- An auto-disabled publisher that was manually re-enabled would no longer be eligible for auto-disable.
This has now been updated to suspend auto-disable for a week.
If after a week, the publisher is still failing, it will be auto-disabled again.
- Fixed a few instances where transactions were not used, while they should have been.

### 0.48 (2020-05-14)

This release introduces the concept of an organization event configuration.
Expand Down
4 changes: 4 additions & 0 deletions currentuser.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ syntax = "proto3";
package hiber.user;

import "base.proto";
import "organization.proto";

option java_multiple_files = false;
option java_package = "global.hiber.api.grpc.user";
Expand Down Expand Up @@ -159,6 +160,9 @@ message AccessibleOrganizationsRequest {
/* Organization name, i.e. "My Organization" */
string display_name = 2;

/* The contact person for this organization */
organization.Organization.Contact contact = 5;

/* If true, you are a member of this organization (= you are directly linked to this organization) */
bool member = 3;

Expand Down
13 changes: 13 additions & 0 deletions modem.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ service ModemService {
rpc UpdateTags (UpdateModemTagsRequest) returns (UpdateModemTagsRequest.Response);
rpc UpdateNotes (UpdateModemNotesRequest) returns (UpdateModemNotesRequest.Response);
rpc UpdateSecureNotes (UpdateModemSecureNotesRequest) returns (UpdateModemSecureNotesRequest.Response);
rpc UpdateStatus (UpdateModemStatusRequest) returns (UpdateModemStatusRequest.Response);
rpc UpdateModemHealthConfig (UpdateModemHealthConfig.Request) returns (UpdateModemHealthConfig.Response);
rpc UpdatePeripherals (UpdatePeripheralsRequest) returns (UpdatePeripheralsRequest.Response);

Expand Down Expand Up @@ -476,6 +477,18 @@ message UpdateModemSecureNotesRequest {
string secure_notes = 3;
}

message UpdateModemStatusRequest {
message Response {
Modem modem = 1;
UpdateModemStatusRequest request = 2;
}

/* Pick the organization to use (/impersonate). If unset, your default organization is used. */
string organization = 1;
string modem_number = 2;
Modem.Status update_status = 3;
}

message UpdatePeripheralsRequest {
/* The result is paginated if affecting more than 100 modems. Use the list call to paginate further.
*/
Expand Down

0 comments on commit 88faea6

Please sign in to comment.