CRUD

specdraftimplproposal

Create, replace, update and delete features.

Scope

Limitations

Only feature types from an SQL feature provider, sourced from a single table and with auto-incrementing primary keys are supported. See also issue #411open in new window.

Conformance Classes

The module is based on the specifications of the conformance classes "Create/Replace/Delete" and "Features" from the Draft OGC API - Features - Part 4: Create, Replace, Update and Deleteopen in new window. The implementation will change as the draft will evolve during the standardization process.

Operations

ResourcePathMethodsMedia TypesDescription
Features, Feature
collections/{collectionId}/items, collections/{collectionId}/items/{featureId}
DELETE, PATCH, POST, PUT
Create, Replace, Update and Delete features.

Path Parameters

NameResourcesDescription
collectionId
Features, Feature
The identifier of the feature collection.

Query Parameters

NameResourcesDescription
schema
Feature
This option can be used to return features with a different schema. The only supported value is receivables, the response is the schema of the features that has to be met when creating or replacing a feature. Diese Option kann verwendet werden, um Features in einem anderen Schema zurückzugeben. Der einzige unterstützte Wert ist receivables. Die Antwort ist dann in dem Schema, das beim Erstellen oder Ersetzen eines Features verwendet werden muss.

Configuration

Options

NameDefaultDescriptionTypeSince
buildingBlock
Always CRUD or (deprecated) TRANSACTIONAL.
string
v2.0
extensionType
Deprecated See buildingBlock.
string
v2.0
enabled
false
Enable the building block?
boolean
v2.0

Examples


- buildingBlock: CRUD
  enabled: true