You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The --hosting option is optional and currently supports sentinel_hub as its only value.
194
+
- The --collection_id is also optional. If you decide to use this, ensure that the order request and the collection have matching bands. If you're unsure, allow the system to create a new collection for you by omitting the --collection_id option. This will ensure the newly set-up collection is configured correctly, and you can subsequently add items to this collection as needed.
195
+
196
+
For more information on Sentinel Hub hosting, see the [Orders API documentation](https://developers.planet.com/apis/orders/delivery/#delivery-to-sentinel-hub-collection) and the [Linking Planet User to Sentinel Hub User
197
+
](https://support.planet.com/hc/en-us/articles/16550358397469-Linking-Planet-User-to-Sentinel-Hub-User) support post.
198
+
179
199
### Save an Order Request
180
200
181
201
The above command just prints out the necessary JSON to create an order. To actually use it you can
@@ -236,6 +256,16 @@ Note the default output will be a bit more 'flat' - if you'd like the above form
236
256
command-line just use `jq` as above: `planet orders create request-1.json | jq` (but remember
237
257
if you run that command again it will create a second order).
238
258
259
+
#### Sentinel Hub Hosting
260
+
261
+
For convenience, `planet orders create` accepts the same `--hosting` and `--collection_id` options that [`planet orders request`](#sentinel-hub-hosting) does.
The above command assumes that you’ve saved the subscriptions JSON as `my-subscription.json` and that you’ve replaced the delivery information with your own bucket and credentials.
122
122
123
-
#### Create a Subscription with Hosting and Collection ID
124
-
125
-
In addition to the basic subscription creation process, you can now specify hosting options and a collection ID directly in the create command.
- The --hosting option is optional and currently supports sentinel_hub as its only value.
132
-
- The --collection_id is also optional. If you decide to use this, ensure that the subscription request and the collection have matching bands. If you're unsure, allow the system to create a new collection for you by omitting the --collection_id option. This will ensure the newly set-up collection is configured correctly, and you can subsequently add items to this collection as needed.
133
-
134
123
### List Subscriptions
135
124
136
125
Now that you’ve got a subscription working you can make use of the other commands.
@@ -487,42 +476,36 @@ The main documentation page also has the parameters for Google Cloud, AWS and Or
487
476
488
477
### Subscriptions Request
489
478
490
-
When creating a new subscription, you can include hosting options directly using the --hosting and --collection-id flags.
491
-
492
-
- The --hosting option is optional and currently supports sentinel_hub as its only value.
493
-
- The --collection_id is also optional. If you decide to use this, ensure that the subscription request and the collection have matching bands. If you're unsure, allow the system to create a new collection for you by omitting the --collection_id option. This will ensure the newly set-up collection is configured correctly, and you can subsequently add items to this collection as needed.
494
-
- You may also input --hosting as a JSON file. The file should be formatted:
The above will print it nicely out so you can see the full request. You can write it out
519
-
as a file, or pipe it directly into `subscriptions create` or `subscriptions update`:
493
+
#### Sentinel Hub Hosting
494
+
495
+
When creating a new subscription, you can include hosting options directly using the --hosting and --collection-id flags.
496
+
497
+
- The --hosting option is optional and currently supports sentinel_hub as its only value.
498
+
- The --collection_id is also optional. If you decide to use this, ensure that the subscription request and the collection have matching bands. If you're unsure, allow the system to create a new collection for you by omitting the --collection_id option. This will ensure the newly set-up collection is configured correctly, and you can subsequently add items to this collection as needed.
499
+
- You may also input --hosting as a JSON file. The file should be formatted:
520
500
521
501
```sh
522
502
planet subscriptions request \
523
503
--name 'First Subscription' \
524
504
--source request-catalog.json \
525
505
--tools tools.json \
526
-
--delivery cloud-delivery.json \
506
+
--hosting sentinel_hub \
527
507
| planet subscriptions create -
528
508
```
509
+
510
+
For more information on Sentinel Hub hosting, see the [Subscriptions API documentation](https://developers.planet.com/docs/subscriptions/delivery/#delivery-to-sentinel-hub-collection) and the [Linking Planet User to Sentinel Hub User
511
+
](https://support.planet.com/hc/en-us/articles/16550358397469-Linking-Planet-User-to-Sentinel-Hub-User) support post.
0 commit comments