Hi Albert
The descriptors field was not connected to the API, so this information will not be accessible through the public API. Since descriptors are a common field that should be accessible through the public API by default, I've added them to the default diffusion ontology for images.
The new output properties are:
- descriptors: The term names of the indexations.
- descriptors_data: The references of the terms used, formatted as an array (e.g., on1_33 = ts_onomastic id 33).
- descriptors_data_rec: The entire parent chain of the terms, used to search for the parent term and obtain all its children or display the chain.
And you can use it as any other thesaurus property, with the /records as:
if you want to obtain the images with the descriptor:
dc1_458
the sql_filter must be set in this way:
descriptors_data LIKE '%"dc1_458"%'
The /records call must be set in this way:
https://my_public_access.org/dedalo/publication/server_api/v1/json/records?code=my_api_code&db_name=web_public&table=image&sql_filter=descriptors_data%20LIKE%20'\''%25%22dc1_458%22%25'\''&lang=lg-spa&limit=10&resolve_portal=false&resolve_dd_relations=false
This changed was done into the ontology:
v6.9.7
2026-10-19T19:29:34+02:00
Update your installation to obtain it.
Best