In dataCycle gibt es die Möglichkeit, Vorschläge zur Autovervollständigung für Inhalte abzurufen.
_/api/v4/endpoints/<ENDPOINT-ID>/suggest_by_title?token=<YOUR_ACCESS_TOKEN>&search=<SEARCH_TERM>
_/api/v4/endpoints/<ENDPOINT-ID>/suggest_by_title
JSON-Body:
{
"token": "YOUR_ACCESS_TOKEN",
"search": "SEARCH_TERM"
}
Der Rückgabewert hat folgendes Schema:
{
"@context": [...]
"@graph": {
"@type": "dcls:Statistics",
"suggest": [
"test",
"Test",
"TEST",
"Test 1",
"Test 2",
"Test 3",
"test3",
]
}
}