API Reference

The /v1/item/{id} route provides a comprehensive interface for fetching, updating, and deleting a specified item within a Metafuse project. Here’s a breakdown of the operations available on this route:

  • GET Method:
    Retrieves the details of a specified item.

    • id (required, path): Identifies the item to fetch.
      A successful query returns a 200 status code along with the item's details, while a 400 status code denotes client-side errors like missing required parameters or incorrect query format.
  • PUT Method:
    Updates the specified item’s details with the provided JSON payload adhering to the schema (MetafuApiDe7EW7DQuJtCln). The schema includes:

    • image (optional): A base64 encoded string representing the updated image of the item.
    • allowDuplicatesOverride (optional): A boolean flag to control the allowance of duplicate items, defaulted to false.
    • traits (optional): An array of objects representing updated trait values and types.
    • visibility (optional): A string value of either PUBLIC or PRIVATE determining the visibility of the item's image and metadata.
    • id (required, path): Identifies the item to update.
      A successful update returns a 200 status code, indicating the successful modification of the item. A 400 status code is returned for client-side errors like missing required parameters or incorrect data format.
  • DELETE Method:
    Deletes the specified item from the Metafuse platform.

    • id (required, path): Identifies the item to delete.
      A successful deletion returns a 200 status code, indicating the successful removal of the item. A 400 status code is returned for client-side errors like missing required parameters.
Log in to see full request history
Path Params
string
required

The Item to get.

Responses
200

200 response

400

400 response

Language
Credentials
Click Try It! to start a request and see the response here!