get_resource_types

Returns all configured resource types available to this user.

No parameters.

Return values

The configured resource types.. From V10.2 the associated resource_type_fields will also be returned as an array of field IDs

[{
"ref": "1", "name": "Photo", "allowed_extensions": null, "order_by": null, "config_options": null, "tab_name": null, "push_metadata": null, "colour": null, "icon": "fas fa-image", "tab": null, "resource_type_fields": [8, 10, 12, 18, 25, 29, 51, 52, 54, 72, 73, 74, 75, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93
]},{
"ref": "2", "name": "Document", "allowed_extensions": null, "order_by": null, "config_options": null, "tab_name": null, "push_metadata": null, "colour": null, "icon": "fas fa-file-alt", "tab": null, "resource_type_fields": [8, 9, 10, 12, 18, 25, 29, 51, 72, 73, 74, 75, 84, 85, 86, 87, 90, 91, 93]
}, {
"ref": "3", "name": "Video", "allowed_extensions": null, "order_by": null, "config_options": null, "tab_name": null, "push_metadata": null, "colour": null, "icon": "fas fa-video", "tab": null, "resource_type_fields": [
8, 10, 12, 18, 25, 29, 51, 72, 73, 74, 75, 76, 77, 78, 79, 84, 85, 86, 87, 90, 91, 93
]
}, {
"ref": "4", "name": "Audio", "allowed_extensions": null, "order_by": null, "config_options": null, "tab_name": null, "push_metadata": null, "colour": null, "icon": "fas fa-music", "tab": null, "resource_type_fields": [29, 80, 81, 82, 83]}
]