A continuación se muestran una serie de peticiones que se pueden hacer a una API STAC para realizar determinadas acciones comunes.
Éste documente pretende ser una referencia rápida para realizar peticiones de manera inmediata. Las especificaciones completas de STAC API están disponibles en GitHub.
Ver Colecciones de datos
curl -X GET "https://my-stac-api.com/collections" \
-H "Authorization: Bearer <API_TOKEN>
Crear nueva Colección de datos
curl -X POST "https://my-stac-api.com/collections" \
-H "Authorization: Bearer <API_TOKEN>" \
-d '{"id": "<NOMBRE_COLECCIÓN>", \
"type": "Collection", \
"license": "proprietary", \
"description": "<DESCRIPCIÓN_COLECCIÓN>", \
"stac_version": "1.0.0", \
"stac_extensions": [], \
"extent": {"spatial": {"bbox": [[-180.0, -90.0, 180.0, 90.0]]}, "temporal": {"interval": [["1970-01-01T00:00:00Z", null]]}}}'