Texture Categories
Retrieve texture categories endpoints
GET /textures-categories/list
Endpoint: Retrieve All Texture Categories
HTTP Method: GET
URL: /open-api/v1/textures-categories/list
Description: This endpoint retrieves a list of all texture categories available in the database without applying pagination filters. It returns a detailed list ensuring all categories are accessible in a single response.
Response Format:
Status Code:
200 OKContent-Type:
application/json
Response Example:
[
{
"id": "1",
"name": "Wood"
},
{
"id": "2",
"name": "Metal"
},
{
"id": "3",
"name": "Stone"
}
// ... more categories
]Notes:
Ensure proper authorization headers are included if necessary.
The response will include all categories, so handle large datasets appropriately in your application.
Get all texture categories without pagination.
Enter token in format (Bearer <your_token>)
Column to order results by (e.g., 'created_at')
created_atSorting order (asc or desc)
descPossible values: Successful response
Textures category data
1Wood TexturesCollection of wood textures2024-02-21T12:34:56Z2024-02-21T12:34:56ZJohn DoeUnauthorized
Internal server error
GET /api/open-api/v1/textures-categories/list HTTP/1.1
Host: app.simplio3d.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"title": "Wood Textures",
"description": "Collection of wood textures",
"created_at": "2024-02-21T12:34:56Z",
"updated_at": "2024-02-21T12:34:56Z",
"created_by": "John Doe"
}
]GET /textures-categories/{id}
Get Texture Category by ID - GET Endpoint
Endpoint:
Description:
Retrieve detailed information about a specific texture category using its unique ID.
Authorization:
Ensure appropriate authorization headers are included in the request.
Parameters:
id (path parameter) - The unique identifier of the texture category.
Response:
Returns a JSON object containing detailed information about the texture category, such as its name, description, and any related metadata.
Example Response:
Notes:
Handle any potential errors such as
404 Not Foundfor invalid IDs.Consider rate limits and implement retry logic as appropriate.
Get a specific texture category by ID.
Enter token in format (Bearer <your_token>)
ID of the texture category
Successful response
Textures category data
1Wood TexturesCollection of wood textures2024-02-21T12:34:56Z2024-02-21T12:34:56ZJohn DoeUnauthorized
Texture category not found
GET /api/open-api/v1/textures-categories/{id} HTTP/1.1
Host: app.simplio3d.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"title": "Wood Textures",
"description": "Collection of wood textures",
"created_at": "2024-02-21T12:34:56Z",
"updated_at": "2024-02-21T12:34:56Z",
"created_by": "John Doe"
}GET /textures-categories
Get List of Texture Categories
The Get List of Texture Categories endpoint retrieves a complete list of available texture categories. Each category includes essential details such as the category's ID, name, and description.
Endpoint
Example Request
Example Response
Notes
Ensure a valid access token is provided in the request header.
Handle potential errors, such as
401 Unauthorizedif the token is invalid or expired.Implement retry logic to handle rate limit errors if encountered.
Get all textures categories.
Enter token in format (Bearer <your_token>)
Number of records per page (-1 for all records)
25Number of page
2Column to sort by
created_atSort order (asc/desc)
descSuccessful response
No content
Unauthorized
Internal Server Error
GET /api/open-api/v1/textures-categories HTTP/1.1
Host: app.simplio3d.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated