README.md in embulk-input-zendesk-0.1.2 vs README.md in embulk-input-zendesk-0.1.3
- old
+ new
@@ -20,11 +20,12 @@
## Configuration
- **login_url**: Login URL for Zendesk (string, required)
- **auth_method**: `basic`, `token`, or `oauth`. For more detail on [zendesk document](https://developer.zendesk.com/rest_api/docs/core/introduction#security-and-authentication). (string, required)
-- **target**: Which export Zendesk resource. Currently supported are `tickets`, `ticket_events`, `users`, `organizations`, `ticket_fields` or `ticket_forms`. (string, required)
+- **target**: Which export Zendesk resource. Currently supported are `tickets`, `ticket_events`, `users`, `organizations`, `ticket_fields`, `ticket_forms` or `ticket_metrics`. (string, required)
+- **includes**: Will fetch sub resources. For example, ticket has ticket_audits, ticket_comments. See below example config. (array, default: `[]`)
- **username**: The user name a.k.a. email. Required if `auth_method` is `basic` or `token`. (string, default: `null`)
- **password**: Password. required if `auth_method` is `basic`. (string, default: `null`)
- **token**: Token. required if `auth_method` is `token`. (string, default: `null`)
- **access_token**: OAuth Access Token. required if `auth_method` is `oauth`. (string, default: `null`)
- **start_time**: Start export from this time if present. (string, default: `null`)
@@ -40,9 +41,12 @@
login_url: https://obscura.zendesk.com
auth_method: token
username: jdoe@example.com
token: 6wiIBWbGkBMo1mRDMuVwkw1EPsNkeUj95PIz2akv
target: tickets
+ includes:
+ - audits
+ - comments
start_time: "2015-01-01 00:00:00+0000"
```
## Test