Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[//]: # "Badges"

<p align="center">
<a href="https://pypi.org/project/stac-validator" target="_blank">
<a href="https://github.com/sparkgeo/stac-validator/actions/workflows/test-runner.yml" target="_blank">
<img src="https://github.com/sparkgeo/stac-validator/actions/workflows/test-runner.yml/badge.svg" alt="Package version">
</a>
<a href="https://pypi.org/project/stac-validator" target="_blank">
Expand Down
7 changes: 6 additions & 1 deletion cdk-deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cdk diff --profile stac-validator
cdk deploy --profile stac-validator
```

Post a STAC url or local file to the returned endpoint in order to validate a STAC JSON.
## Post a STAC url

```bash
curl --request POST \
Expand All @@ -31,6 +31,11 @@ https://xxxxxxxxxx.execute-api.us-west-2.amazonaws.com/prod/
"valid_stac": true
}

```

## Post a STAC file
`@` reads a local file. This is equivalent to posting the STAC json data.
```bash
curl --request POST \
--header "Content-Type: application/json" \
--data @./tests/test_data/v090/items/landsat8-sample.json \
Expand Down