docs/me.md in losant_rest-1.17.4 vs docs/me.md in losant_rest-1.17.5
- old
+ new
@@ -7,16 +7,18 @@
##### Contents
* [Add Recent Item](#add-recent-item)
* [Change Password](#change-password)
* [Delete](#delete)
+* [Device Counts](#device-counts)
* [Disable Two Factor Auth](#disable-two-factor-auth)
* [Disconnect Github](#disconnect-github)
* [Enable Two Factor Auth](#enable-two-factor-auth)
* [Fetch Recent Items](#fetch-recent-items)
* [Generate Two Factor Auth](#generate-two-factor-auth)
* [Get](#get)
+* [Notebook Minute Counts](#notebook-minute-counts)
* [Patch](#patch)
* [Payload Counts](#payload-counts)
* [Refresh Token](#refresh-token)
* [Transfer Resources](#transfer-resources)
* [Verify Email](#verify-email)
@@ -129,10 +131,47 @@
| ---- | ---- | ----------- |
| 400 | [Error](_schemas.md#error) | Error if malformed request |
<br/>
+## Device Counts
+
+Returns device counts by day for the time range specified for all applications the current user owns
+
+```ruby
+result = client.me.device_counts(optional_params)
+
+puts result
+```
+
+#### Authentication
+The client must be configured with a valid api access token to call this
+action. The token must include at least one of the following scopes:
+all.User, all.User.read, me.*, or me.deviceCounts.
+
+#### Available Parameters
+
+| Name | Type | Required | Description | Default | Example |
+| ---- | ---- | -------- | ----------- | ------- | ------- |
+| start | string | N | Start of range for device count query (ms since epoch) | | 0 |
+| end | string | N | End of range for device count query (ms since epoch) | | 1465790400000 |
+| losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
+
+#### Successful Responses
+
+| Code | Type | Description |
+| ---- | ---- | ----------- |
+| 200 | [Device Counts](_schemas.md#device-counts) | Device counts by day |
+
+#### Error Responses
+
+| Code | Type | Description |
+| ---- | ---- | ----------- |
+| 400 | [Error](_schemas.md#error) | Error if malformed request |
+
+<br/>
+
## Disable Two Factor Auth
Disables two factor auth for the current user
```ruby
@@ -342,9 +381,46 @@
#### Error Responses
| Code | Type | Description |
| ---- | ---- | ----------- |
+
+<br/>
+
+## Notebook Minute Counts
+
+Returns notebook execution usage by day for the time range specified for all applications the current user owns
+
+```ruby
+result = client.me.notebook_minute_counts(optional_params)
+
+puts result
+```
+
+#### Authentication
+The client must be configured with a valid api access token to call this
+action. The token must include at least one of the following scopes:
+all.User, all.User.read, me.*, or me.notebookMinuteCounts.
+
+#### Available Parameters
+
+| Name | Type | Required | Description | Default | Example |
+| ---- | ---- | -------- | ----------- | ------- | ------- |
+| start | string | N | Start of range for notebook execution query (ms since epoch) | | 0 |
+| end | string | N | End of range for notebook execution query (ms since epoch) | | 1465790400000 |
+| losantdomain | string | N | Domain scope of request (rarely needed) | | example.com |
+
+#### Successful Responses
+
+| Code | Type | Description |
+| ---- | ---- | ----------- |
+| 200 | [Notebook Minute Counts](_schemas.md#notebook-minute-counts) | Notebook usage information |
+
+#### Error Responses
+
+| Code | Type | Description |
+| ---- | ---- | ----------- |
+| 400 | [Error](_schemas.md#error) | Error if malformed request |
<br/>
## Patch