Skip to main content

Create taxonomy entries

POST 

/taxonomies/:taxonomy_id/entries

Adds entries to a taxonomy. The request body is a JSON array of entries, each linking a parent field and value to a child field and value. An entry that the taxonomy already holds is skipped, and an entry that another taxonomy holds is added to this taxonomy as well. Foundation4 refuses an entry whose child is its own parent, and an entry that would make a value its own ancestor through other entries of the taxonomy. The response body is the array of entries that were created. Changes take effect in the next search, without reprocessing any document.

Permissions. Write on the taxonomy.

See Metadata, filters and taxonomies.

Request​

Responses​

The entries were created. The body is the array of created entries, without the entries that the taxonomy already held.