The /v1/project/{id}
route serves as a multifunctional conduit for fetching, updating, and deleting a Metafuse project. Here’s a detailed breakdown of the available operations on this route:
-
GET Method:
Retrieves the details of a specified project.id
(required, path): Identifies the project to fetch.lastEvaluatedKey
(optional, query): Fetches paginated data if returned from a previous query.
A successful query returns a200
status code along with the project's details, while a400
status code denotes client-side errors like missing required parameters or incorrect query format.
-
PUT Method:
Updates the specified project’s details with the provided JSON payload adhering to the schema (MetafuApiDeZiYYNXOiXRC8
). The schema includes:name
(optional): A string to update the project’s name.description
(optional): A string to update the project’s description.id
(required, path): Identifies the project to update.
A successful update returns a200
status code, indicating the successful modification of the project. A400
status code is returned for client-side errors like missing required parameters or incorrect data format.
-
DELETE Method:
Eradicates the specified project from the Metafuse platform.id
(required, path): Identifies the project to delete.
A successful deletion returns a200
status code, indicating the successful removal of the project. A400
status code is returned for client-side errors like missing required parameters.
The route is secured via the MetafuseDeveloperApiStackRequestAuthorizer1C886840
security scheme, ensuring only authorized access to the project resources. This well-rounded interface empowers developers to efficiently manage the project lifecycle within the Metafuse platform, from fetching to updating or deleting projects as needed.