Retrieve a random term from any termbase
Returns a random term from any termbase. You can define min length, max length and whether symbols are allowed
Request
| Method: | POST |
| Route: | api/entry/random |
| Example: | api/entry/random |
| Input | Value |
|---|---|
| database | teleterm |
| allow_symbols | false |
| max_len_term_en | 10 |
| max_len_term_gr | 10 |
Request Headers
| host: | localhost:8000 |
| accept: | application/json |
| user-agent: | Symfony |
| content-type: | application/json |
| accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| content-length: | 87 |
| accept-language: | en-us,en;q=0.5 |
Response
200
JSON
Response Headers
| date: | Sun, 01 Feb 2026 00:53:50 GMT |
| content-type: | application/json |
| cache-control: | no-cache, private |
{
"data": [
{
"RECNUM": 125864,
"TERMEN": "call",
"TERMGR": "κλήση",
"MOTOVOC": "S1184",
"CODE": "15-03-02",
"STAGE": "3",
"ABBRGR": null,
"STERMGR": "ΕΛΟΤ 1300.15",
"SECTION": null,
"NOTEGR": null,
"ABBREN": null,
"STERMEN": "IEC 50(715)",
"TERMFR": "communication",
"ABBRFR": null,
"TERMGE": "Anruf",
"ABBRGE": null,
"NOUN": null,
"NOTEEN": null,
"GRAECOEN": null,
"GRAECOFR": null,
"GRAECOGE": null,
"SOURCES": null,
"MARKING": 0,
"MOTOVOC2": null,
"DATEOFRECORD": "2010-12-16 00:00:00",
"N-LECTICITY_EN": null,
"N-LECTICITY_GR": null,
"N-LECTICITY_FR": null,
"SOURCE_UNIFORM": null,
"LINK": "https:\/\/www.eleto.gr\/download\/Bodies\/ELETO-MOTO-TE48OE1_ISOIEC-Security-Glossary.pdf "
}
],
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
},
"metadata": {
"termmaster_games": 2240,
"database": "teleterm",
"uid": 100125864,
"request": {
"database": "teleterm",
"allow_symbols": false,
"max_len_term_gr": 10,
"max_len_term_en": 10
},
"count": 1
}
}
Time: 242.87
select * from `TELETERM_TELETERM` where TERMEN REGEXP '^[A-Za-z ]+$' AND length(TERMEN) <= 10 AND length(TERMGR) <= 10 order by RAND() limit 1
Time: 0.74
select * from `GAME_STATISTICS` where `GAME_STATISTICS`.`id` = ? limit 1
Bindings
| 0: | 1 |
Time: 2.25
update `GAME_STATISTICS` set `value` = `value` + 1 where `id` = ?
Bindings
| 0: | 1 |
Request
| Method: | POST |
| Route: | api/entry/random |
| Example: | api/entry/random |
| Input | Value |
|---|---|
| database | teleterm |
| allow_symbols | false |
| max_len_term_en | 10 |
| max_len_term_gr | 10 |
Request Headers
| host: | localhost:8000 |
| accept: | application/json |
| user-agent: | Symfony |
| content-type: | application/json |
| accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| content-length: | 87 |
| accept-language: | en-us,en;q=0.5 |