A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/stac-api-extensions/transaction below:

stac-api-extensions/transaction: The Transaction Extension supports the creation, editing, and deleting of items through POST, PUT, PATCH, and DELETE requests.

STAC API - Transaction Extension Specification

The STAC API Transaction Extension adds support for the creation, modification, and deletion of items through POST, PUT, PATCH, and DELETE method requests. The behavior described here is based on the OGC API - Features transactions as specified in OGC API - Features - Part 4: Create, Replace, Update and Delete. The core OGC standard lays out the end points for transactions, without specifying any content types. For STAC we use STAC Item objects in our transactions, and those transaction must be done at the OGC API - Features endpoints, under /collections/{collectionId}/items.

Additionaly, the STAC API Transaction Extension supports optimistic locking through use of the ETag header.

Path Content-Type Header Body Success Status Description POST /collections/{collectionId}/items application/json partial Item or partial ItemCollection 201, 202 Adds a new item to a collection. PUT /collections/{collectionId}/items/{featureId} application/json partial Item 200, 202, 204 Updates an existing item by ID using a complete item description. PATCH /collections/{collectionId}/items/{featureId} application/json partial Item 200, 202, 204 Updates an existing item by ID using a partial item description. DELETE /collections/{collectionId}/items/{featureId} n/a n/a 200, 202, 204 Deletes an existing item by ID.

When the body is a partial Item:

When the body is a partial ItemCollection:

All cases:

PATCH is compliant with RFC 7386.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4