egulu CLI reference / egulu push-devices
egulu push-devices register
POST /v1/projects/{project}/locations/{location}/pushApplications/{pushApplication}/devices
egulu push-devices register <NAME> [options]
API operation
PushDevices_register: POST /v1/projects/{project}/locations/{location}/pushApplications/{pushApplication}/devices (push module)
Arguments
| Name | Required | Description |
|---|---|---|
NAME | yes | the deviceId |
Options
| Option | Takes | Required | Description |
|---|---|---|---|
--application-server-key | value | no | applicationServerKey |
--locale | value | no | locale |
--location | value | yes | location |
--platform | value | no | platform |
--project | value | yes | project |
--push-application | value | yes | pushApplication |
--tags | value | no | tags: comma-separated, or @file with one item a line |
--token | value | no | token |
--user-id | value | no | userId |
The global options apply too.