get https://gateway.metafuse.me/v1/layer/
The /v1/layer/{id} route is a robust interface for interacting with individual layers within a Metafuse project, offering functionalities to fetch, update, or delete a specific layer. Here’s a detailed breakdown of the available operations on this route:
-
GET Method:
Retrieves the details of a specified layer.id(required, path): Identifies the layer to fetch.lastEvaluatedKey(optional, query): Fetches paginated data if returned from a previous query.
A successful query returns a200status code along with the layer's details, while a400status code denotes client-side errors like missing required parameters or incorrect query format.
-
PUT Method:
Updates the specified layer’s details with the provided JSON payload adhering to the schema (MetafuApiDepAONIR6hxU6Q).id(required, path): Identifies the layer to update.regenerate(optional, path): Regenerate items that utilized the updated layer.
A successful update returns a200status code, indicating the successful modification of the layer. A400status code is returned for client-side errors like missing required parameters or incorrect data format.
-
DELETE Method:
Deletes the specified layer from the Metafuse platform.id(required, path): Identifies the layer to delete.regenerate(optional, path): Regenerate items that utilized the deleted layer to no longer include it.
A successful deletion returns a200status code, indicating the successful removal of the layer. A400status code is returned for client-side errors like missing required parameters.
