Resource functions
- get_resource_field_data
- create_resource
- delete_resource
- copy_resource
- get_resource_log
- update_resource_type
- get_resource_path
- get_resource_data
- get_alternative_files
- get_resource_types
- add_alternative_file
- delete_alternative_file
- upload_file
- upload_file_by_url
- upload_multipart
- get_related_resources
- resource_log_last_rows
- replace_resource_file
- get_resource_all_image_sizes
- put_resource_data
- update_related_resource
- relate_all_resources
- get_edit_access
Collection functions
Search functions
IIIF
Metadata functions
User functions
System
Message functions
Plugin functions
get_featured_collections
Get ResourceSpace featured collections (category).
Available from version 10.3+.
Variable | Description | Data type | Default |
---|---|---|---|
$parent * | Featured collection parent's ref. Use 0 (zero) to get the root featured collections (and categories) | integer | N/A |
Response
If successful, a 200 HTTP status will be returned with the body containing an array. If the parent is invalid an empty array will be returned instead.
Example
Array ( [0] => Array ( [ref] => 5 [name] => Animals [type] => 3 [parent] => [thumbnail_selection_method] => 1 [bg_img_resource_ref] => [order_by ] => 10 [created] => 2023-11-28 11:39:28 [has_resources] => 0 [has_children] => 1 ) [1] => Array ( [ref] => 7 [name] => Museum [type] => 3 [parent] => [thumbnail_selection_method] => 1 [bg_img_resource_ref] => [order_by ] => 20 [created] => 2023-11-28 11:39:49 [has_resources] => 1 [has_children] => 0 ) )