Validate Order
POST/pipelines/:namespace/:name/validate
Validate an order request before placing it. This "dry runs" the request to make sure the order configuration is valid.
Request
Path Parameters
REQUIRED. A group of pipelines.
REQUIRED. The name of the pipeline.
- application/json
Body
- Array [
- Amazon S3
- Google Cloud Storage
- Azure Blob Storage
- File Download
- MGP Order Manager
- ]
- Array [
- HTTP Callback
- Amazon SNS
- ]
output_configs object[]required
Sets delivery notifications
Possible values: [amazon_s3
]
Possible values: [google_cloud_storage
]
Possible values: [azure_blob_storage
]
Possible values: [download
]
Possible values: [zip
, tar
]
Possible values: [mgp_order_manager
]
notifications object[]
Sets order notifications
config object
Possible values: [FINAL_ONLY
, INTERMEDIATE
, INITIAL_FINAL
, ON_FAIL
]
Possible values: [http
]
config object
Possible values: [FINAL_ONLY
, INTERMEDIATE
, INITIAL_FINAL
, ON_FAIL
]
Possible values: [sns
]
Possible values: [FINAL_ONLY
, INTERMEDIATE
, INITIAL_FINAL
, ON_FAIL
]
Possible values: [email
]
Specifies pipeline specific settings
Arbitrary user key-value metadata
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data objectrequired
usage undefined[]
Schema to validate pipeline order usage report
Possible values: [sqkm
, request_count
, feature_count
, byte_count
, pixel_count
, tile_count
, credits
]
links objectrequired
{
"data": {
"message": "Order dry-run validation successful.",
"usage": [
{
"description": "Fresh Archive Imagery < 90 Days",
"product_id": 242,
"quantity": 12,
"units": "sqkm"
}
]
},
"links": {
"request": true
},
"request_timestamp": "2022-12-01T23:19:02Z",
"response_timestamp": "2022-12-01T23:19:06Z",
"request_duration": 4
}