Textures
Managing textures using API endpoints
Last updated
Managing textures using API endpoints
Simplio3D provides a robust API for managing and manipulating textures in a 3D environment. Below are the key endpoints available in the Textures API:
GET /texturesDescription: Retrieve a list of all available textures.
Parameters: None
Response: JSON array of texture objects.
GET /textures/{textureId}Description: Fetch details of a specific texture.
Parameters:
textureId: The unique identifier for the texture.
Response: JSON object containing texture details.
POST /texturesDescription: Add a new texture to the collection.
Parameters:
name: String, required
file: Binary, required (texture image file)
Response: JSON object with status and texture ID.
PUT /textures/{textureId}Description: Update details of an existing texture.
Parameters:
textureId: The unique identifier for the texture.
Request body with updated texture details.
Response: JSON object reflecting the updated texture.
DELETE /textures/{textureId}Description: Remove a texture from the system.
Parameters:
textureId: The unique identifier for the texture.
Response: JSON object confirming deletion.
Ensure to handle authentication and error responses as defined in the API documentation.
Last updated