The Controlled Vocabulary Concepts Search resource defines the set Controlled Vocabulary terms associated with a list of Controlled Vocabulary Concepts that match a set of search criteria.
The scope of the terms returned can be limited by using the type query parameter.
The search query (q parameter) must contain at least one string or one attr.
A string in the search query will search for all concepts with that string in its description or gedcomxUri (example: q=string:"some description"). The given string can match anywhere in the description and is case insensitive. A given string of "Male" will match "Female", "Male", and "Male Cousin".
An attr in the search query will search for all concepts with that attribute with that value (example q=attr.12:"value1").
It is also possible to redact an attr by placing a dash (-) in front of attr. A redacted attr in the search query will not return any all concepts with that attribute with that value (example q=-attr.17:"value2").
An attr is separated into two parts. The attribute id follows a period and must come first. The attribute value follows the colon and must be surrounded by double quotes. The search on attribute values returns only exact matches, however it is case insensitive. It is possible to leave off either the attribute id or the attribute value. The search will simply match on what it is given. It is possible to send multiple attrs. The search will return only concepts that have all of the supplied attributes.
Valid Query String Examples
| Query Syntax | Result |
|---|---|
q=string:"some description" | Concepts whose description or gedcomxUri contains that text (case-insensitive substring match) |
q=attr.<id>:"<value>" | Concepts having attribute <id> equal to <value> (case-insensitive exact match) |
q=-attr.<id>:"<value>" | Excludes concepts having that attribute value |
q=string:"desc" attr.1:"v1" attr.2:"v2" | Combine clauses with spaces; all must match |
See Vocabulary Concepts Search (Guide) for detailed usage examples and filtering tips, including the full list of attribute IDs and term types.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
204No concepts were found that match the given search criteria.