Skip to content

planet order request: change to new interface #709

Closed as not planned
Closed as not planned
@jreiberkyle

Description

@jreiberkyle

With #616, many of the options in planet orders requests are now moved to arguments.

Change interface to match CLI-Orders proposal:

Usage: planet orders request NAME BUNDLE ITEM_TYPE IDS

NAME: Order name. Does not need to be unique. BUNDLE: Product bundle. ITEM_TYPE: Item Type. IDS: One or more comma-separated item IDs.

Generate an order request.

This command builds an order description for use in creating an order. It outputs the order request, optionally pretty-printed.

Support for building an order description is provided however it has many limitations compared to what the Orders API supports. For creation of more advanced order requests, create the order description manually or use the Python library to aid in creating the order description.

Note that only one of --clip or --tools can be specified.

Options:

--clip JSON - Clip feature GeoJSON. Can be a json string, filename, or '-' for stdin. 
--tools JSON - Toolchain JSON. Can be a json string, filename, or '-' for stdin. 
--email BOOLEAN - Send email notification when order is complete. 
--cloudconfig JSON - Credentials for cloud storage provider to enable cloud delivery of data. Can be a json string, filename, or '-' for stdin. 
--pretty - Format JSON output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions