Textures
Fetch texture(s)
GET /textures
Fetch All Textures - GET Endpoint
The Fetch All Textures endpoint of the Simplio3D API provides a list of all available textures. This endpoint is useful for retrieving texture data that can be applied within the Simplio3D environment.
URL
GET /open-api/v1/texturesRequest Parameters
Headers:
Authorization: Bearer token for authentication (required)
Response
Status Code:
200 OKBody: Returns a JSON array of objects, each representing a texture with the following properties:
id: Unique identifier for the texture.name: Name of the texture.url: Direct URL to the texture file.category: Category to which the texture belongs.
Example Response
[ { "id": "texture_001", "name": "Wooden Texture", "url": "https://example.com/textures/wooden.jpg", "category": "Wood" }, { "id": "texture_002", "name": "Metallic Texture", "url": "https://example.com/textures/metallic.jpg", "category": "Metal" } ]
Use this endpoint to integrate texture data retrieval within your application. Ensure to handle authentication and JSON parsing to access the desired texture details.
Get a list of textures.
Enter token in format (Bearer <your_token>)
Number of items per page (-1 for all items)
25Number of page
2Field to order by (default: created_at)
nameSorting order (asc or desc)
descPossible values: Filter by category ID
2Successful response
Unauthorized
Internal Server Error
GET /textures/{id}
Get Texture by ID
Request Parameters
Path Parameters:
Id: The unique identifier of the texture (required).
Get a specific texture by ID.
Enter token in format (Bearer <your_token>)
ID of the texture
1Successful response
Unauthorized
Texture not found
Last updated