Skip to content

Commit

Permalink
0.207.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogerheijde committed Sep 3, 2024
1 parent 16ac34d commit 729abb7
Show file tree
Hide file tree
Showing 67 changed files with 2,087 additions and 182 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog Hiber API

### 0.207 (2024-09-03)

##### TokenService

- Added `Token.last_used` with the date the token was last used.
- Added `Token.used_for_this_call` to show that this token was used to make the call that resulted in this list of tokens.

##### TagService

- Added `ListTagsRequest.asset_count` to count the assets for the listed tags.
- Added `ListTagsRequest.Response.tag_asset_count` for the result.

##### AssetService

- Added `Asset.AssignedDevice.health` to see the health of assigned device(s).

##### ValueService

- Removed the `repeated` flag on `ValueContext.assets` and renamed the field to `asset`.
- Values with multiple assets will be repeated instead.

### 0.204 (2024-08-06)

##### AssetService
Expand Down
4 changes: 3 additions & 1 deletion asset.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ package hiber.asset;

import "google/protobuf/struct.proto";
import "base.proto";
import "health.proto";
import "tag.proto";
import "value.proto";

option java_multiple_files = false;
option java_package = "global.hiber.api.grpc.asset";
option java_outer_classname = "AssetApi";
option go_package = "hiber";
option go_package = ".;hiber";

/* Assets are things that collect the data produced by devices.
* Devices are assigned to assets to handle data ownership.
Expand Down Expand Up @@ -51,6 +52,7 @@ message Asset {
optional Timestamp last_message_sent_at = 5;
optional Timestamp last_message_received_at = 6;
optional TimeRange assignment_time_range = 7;
optional health.HealthLevel health = 8;
}

string identifier = 1;
Expand Down
2 changes: 1 addition & 1 deletion asset_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import "value.proto";
option java_multiple_files = false;
option java_package = "global.hiber.api.grpc.asset";
option java_outer_classname = "AssetServiceApi";
option go_package = "hiber";
option go_package = ".;hiber";

/* Manage Assets in your organization, creating new assets,
* updating or deleting them in bulk and changing assigned tags and devices.
Expand Down
2 changes: 1 addition & 1 deletion assignment.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import "tag.proto";
option java_multiple_files = false;
option java_package = "global.hiber.api.grpc.assign";
option java_outer_classname = "AssignmentApi";
option go_package = "hiber";
option go_package = ".;hiber";

service AssignmentService {
/* List assignments. */
Expand Down
2 changes: 1 addition & 1 deletion base.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "permission.proto";

option java_multiple_files = true;
option java_package = "global.hiber.api.grpc";
option go_package = "hiber";
option go_package = ".;hiber";

/* Update object for an int that can be set to 0.
*
Expand Down
2 changes: 1 addition & 1 deletion certificate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "base.proto";
option java_multiple_files = false;
option java_package = "global.hiber.api.grpc.certificate";
option java_outer_classname = "CertificateApi";
option go_package = "hiber";
option go_package = ".;hiber";

service CertificateService {
rpc List (ListCertificatesRequest) returns (ListCertificatesRequest.Response);
Expand Down
2 changes: 1 addition & 1 deletion currentuser.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import "role.proto";
option java_multiple_files = false;
option java_package = "global.hiber.api.grpc.user";
option java_outer_classname = "CurrentUserApi";
option go_package = "hiber";
option go_package = ".;hiber";

/* Calls related to the current user. Typically, a newly created user only has access to these calls, all
* others require an organization to be linked.
Expand Down
2 changes: 1 addition & 1 deletion device.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import "value.proto";
option java_multiple_files = false;
option java_package = "global.hiber.api.grpc.device";
option java_outer_classname = "DeviceApi";
option go_package = "hiber";
option go_package = ".;hiber";

/* Information about a device.
* A device is anything in the Hiber network that can send data to our systems.
Expand Down
2 changes: 1 addition & 1 deletion device_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import "value.proto";
option java_multiple_files = false;
option java_package = "global.hiber.api.grpc.device";
option java_outer_classname = "DeviceServiceApi";
option go_package = "hiber";
option go_package = ".;hiber";

/* At the core of the Hiber system, devices are the network nodes that send information and user data.
* This service contains calls to list and manage devices.
Expand Down
2 changes: 1 addition & 1 deletion device_type.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package hiber.device.type;

option java_multiple_files = true;
option java_package = "global.hiber.api.grpc.device.type";
option go_package = "hiber";
option go_package = ".;hiber";

/* Preconfigured device type. */
message DeviceType {
Expand Down
2 changes: 1 addition & 1 deletion device_type_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import "device_type.proto";
option java_multiple_files = false;
option java_package = "global.hiber.api.grpc.device.type";
option java_outer_classname = "DeviceTypeApi";
option go_package = "hiber";
option go_package = ".;hiber";

service DeviceTypeService {
rpc List (ListDeviceTypes.Request) returns (ListDeviceTypes.Response);
Expand Down
Loading

0 comments on commit 729abb7

Please sign in to comment.