Current Behavior
✅ GET /categories/hdris
{
"all": 524,
"natural light": 443,
"outdoor": 388,
"nature": 275,
"urban": 274,
"low contrast": 192,
"high contrast": 188,
"morning-afternoon": 184,
"partly cloudy": 176,
"medium contrast": 143,
"indoor": 141,
"skies": 135,
"clear": 121,
"sunrise-sunset": 118,
"artificial light": 106,
"midday": 105,
"overcast": 78,
"night": 34,
"studio": 19
}
✅ GET /assets?t=hdris&c=outdoor
{
"abandoned_church": {...},
"abandoned_hopper_terminal_01": {...},
...
}
❌ GET /assets?t=hdris&c=all
Expected Behavior
✅ GET /assets?t=hdris&c=all should return non-empty JSON
{
"abandoned_church": {...},
"abandoned_factory_canteen_01": {...},
...
}
Explanation
API Docs
type
Example: type=textures
Filter to assets of a particular type. Can be hdris/textures/models/all.
categories
Example: categories=brick
A comma-separated list of categories to filter by. Only assets that match all categories specified will be included. Use the /categories endpoint to get a list of available categories.
type parameter supports all, and /categories/hdris returns all. For consistency, categories parameter should also support all.
Happy to try a PR :)
Current Behavior
✅
GET/categories/hdris{ "all": 524, "natural light": 443, "outdoor": 388, "nature": 275, "urban": 274, "low contrast": 192, "high contrast": 188, "morning-afternoon": 184, "partly cloudy": 176, "medium contrast": 143, "indoor": 141, "skies": 135, "clear": 121, "sunrise-sunset": 118, "artificial light": 106, "midday": 105, "overcast": 78, "night": 34, "studio": 19 }✅
GET/assets?t=hdris&c=outdoor{ "abandoned_church": {...}, "abandoned_hopper_terminal_01": {...}, ... }❌
GET/assets?t=hdris&c=all{}Expected Behavior
✅
GET/assets?t=hdris&c=allshould return non-empty JSON{ "abandoned_church": {...}, "abandoned_factory_canteen_01": {...}, ... }Explanation
API Docs
typeparameter supportsall, and/categories/hdrisreturnsall. For consistency,categoriesparameter should also supportall.Happy to try a PR :)