Verball
API for verbs from different languages with translations and conjugations.
Languages ¶
Resources for the Languages of the Verbs.
Language Collection ¶
List All LanguagesGET/languages
Example URI
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"code": "en",
"id": "en",
"name": "english",
"nativeName": "english",
"url": "/languages/en",
"pronouns": {
"s1": "I",
"p1": "we",
"s2": "you",
"p2": "you",
"s3m": "he",
"s3f": "she",
"s3n": "it",
"p3": "they"
},
"tenses": [
{
"name": "simple past",
"nativeName": "simple past",
"_id": "simplePast"
},
{
"name": "present",
"nativeName": "present",
"_id": "present"
}
]
},
{
"code": "de",
"id": "de",
"name": "german",
"nativeName": "deutsch",
"url": "/languages/de",
"pronouns": {
"s1": "ich",
"p1": "wir",
"s2": "du",
"p2": "ihr",
"s3m": "er",
"s3f": "sie",
"s3n": "es",
"p3": "sie",
"form": "Sie"
},
"tenses": [
{
"name": "simple past",
"nativeName": "Präteritum",
"_id": "simplePast"
},
{
"name": "present",
"nativeName": "Präsens",
"_id": "present"
}
]
}
]
Create a LanguagePOST/languages
To create a new Language you have POST
a JSON document including the ISO 639-1 code, the English name and the native name of the language.
-
code (string) - ISO 639-1 code of the language
-
name (string) - English name of the language
-
nativeName (string) - Native name of the language
-
pronouns (object) - Pronouns of the language
-
tenses (array) - Array of tenses
- name (string) - Name of the tense
- nativeName (string) - Native name of the tense
Example URI
Headers
Content-Type: application/json
Body
{
"code": "fr",
"name": "French",
"nativeName": "Français",
"pronouns": {
"s1": "je",
"p1": "nous",
"s2": "tu",
"p2": "vous",
"s3m": "il",
"s3f": "elle",
"p3m": "ils",
"p3f": "elles",
"form": "vous"
},
"tenses": [
{
"name": "simple past",
"nativeName": "passé simple"
},
{
"name": "present",
"nativeName": "présent"
}
]
}
201
Headers
Content-Type: application/json; charset=utf-8
Location: /language/fr
Body
{
"code": "fr",
"id": "fr",
"name": "french",
"nativeName": "français",
"url": "/languages/fr",
"pronouns": {
"s1": "je",
"p1": "nous",
"s2": "tu",
"p2": "vous",
"s3m": "il",
"s3f": "elle",
"p3m": "ils",
"p3f": "elles",
"form": "vous"
},
"tenses": [
{
"name": "simple past",
"nativeName": "passé simple",
"_id": "simplePast"
},
{
"name": "present",
"nativeName": "présent",
"_id": "present"
}
]
}
Language ¶
Get a LanguageGET/languages/{language_code}
Example URI
- language_code
string
(required) Example: enISO 639-1 Code of the Language
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"code": "en",
"id": "en",
"name": "english",
"nativeName": "english",
"url": "/languages/en",
"pronouns": {
"s1": "I",
"p1": "we",
"s2": "you",
"p2": "you",
"s3m": "he",
"s3f": "she",
"s3n": "it",
"p3": "they"
},
"tenses": [
{
"name": "simple past",
"nativeName": "Präteritum",
"_id": "simplePast"
},
{
"name": "present",
"nativeName": "Präsens",
"_id": "present"
}
]
}
Update a LanguagePUT/languages/{language_code}
-
name (string) - English Name of the Language
-
nativeName (string) - Native Name of the Language
Example URI
- language_code
string
(required) Example: enISO 639-1 Code of the Language
Headers
Content-Type: application/json
Body
{
"nativeName": "american",
"pronouns": {
"p2": "y'all"
}
}
200
Headers
Content-Type: application/json; charset=utf-8
Location: /languages/en
Body
{
"code": "en",
"id": "en",
"name": "english",
"nativeName": "american",
"url": "/languages/en",
"pronouns": {
"s1": "I",
"p1": "we",
"s2": "you",
"p2": "y'all",
"s3m": "he",
"s3f": "she",
"s3n": "it",
"p3": "they"
},
"tenses": [
{
"name": "simple past",
"nativeName": "Präteritum",
"_id": "simplePast"
},
{
"name": "present",
"nativeName": "Präsens",
"_id": "present"
}
]
}
Delete a LanguageDELETE/languages/{language_code}
Example URI
- language_code
string
(required) Example: enISO 639-1 Code of the Language
204
Verbs ¶
Resources for Verbs.
Verb Collection ¶
List All VerbsGET/verbs
Example URI
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"infinitive": "go",
"language": "en",
"url": "/verbs/en/go",
"id": "5849da8acb46ec150a090068",
"conjugations": {
"present": {
"s1": "go",
"s2": "go",
"s3m": "goes"
}
}
},
{
"infinitive": "gehen",
"language": "de",
"url": "/verbs/de/gehen",
"id": "5849dfbbfa380e1a36daf91d",
"conjugations": {
"present": {
"s1": "gehe",
"s2": "gehst",
"s3m": "geht"
}
}
},
{
"infinitive": "fahren",
"language": "de",
"url": "/verbs/de/fahren",
"id": "5849eb774a5d2f244f416e6a",
"conjugations": {
"present": {
"s1": "fahre",
"s2": "fährst",
"s3m": "fährt"
}
}
}
]
List All Verbs of a LanguageGET/verbs/{language_code}
Example URI
- language_code
string
(optional) Example: enISO 639-1 Code of the Language
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"infinitive": "go",
"language": "en",
"url": "/verbs/en/go",
"id": "5849da8acb46ec150a090068",
"conjugations": {
"present": {
"s1": "go",
"s2": "go",
"s3m": "goes"
}
}
}
]
Find All Verbs Matching a Query StringGET/verbs?q={query}
Example URI
- query
string
(optional) Example: goQuery string for verb infinitive.
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"infinitive": "go",
"language": "en",
"url": "/verbs/en/go",
"id": "5849da8acb46ec150a090068",
"conjugations": {
"present": {
"s1": "go",
"s2": "go",
"s3m": "goes"
}
}
}
]
Create a VerbPOST/verbs
-
infinitive (string) - Infinitive of the Verb
-
language (string) - ISO 639-1 Code of the Language
Example URI
Headers
Content-Type: application/json; charset=utf-8
Body
{
"infinitive": "fly",
"language": "en",
"conjugations": {
"present": {
"s1": "fly",
"s2": "fly",
"s3m": "flies"
}
}
}
201
Headers
Content-Type: application/json; charset=utf-8
Body
{
"infinitive": "fly",
"language": "en",
"url": "/verbs/en/fly",
"id": "5849da8acb46ec150a090068",
"conjugations": {
"present": {
"s1": "fly",
"s2": "fly",
"s3m": "flies"
}
}
}
Verb ¶
Get a Verb By IDGET/verbs/{id}
Example URI
- id
string
(optional) Example: 5849da8acb46ec150a090068ID of the Verb
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"infinitive": "go",
"language": "en",
"url": "/verbs/en/go",
"id": "5849da8acb46ec150a090068",
"conjugations": {
"present": {
"s1": "go",
"s2": "go",
"s3m": "goes"
}
}
}
Get a Verb By Language and InfinitiveGET/verbs/{language_code}/{infinitive}
Example URI
- language_code
string
(required) Example: enISO 639-1 code of the Language
- infinitive
string
(required) Example: goInfinitive of the Verb
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"infinitive": "go",
"language": "en",
"url": "/verbs/en/go",
"id": "5849da8acb46ec150a090068",
"conjugations": {
"present": {
"s1": "go",
"s2": "go",
"s3m": "goes"
}
}
}
Get Translations of a Verb by Language and InfinitiveGET/verbs/{language_code}/{infinitive}/translations
Example URI
- language_code
string
(required) Example: enISO 639-1 code of the Language
- infinitive
string
(required) Example: goInfinitive of the Verb
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"infinitive": "gehen",
"language": "de",
"url": "/verbs/de/gehen",
"id": "5849dfbbfa380e1a36daf91d",
"conjugations": {
"present": {
"s1": "gehe",
"s2": "gehst",
"s3m": "geht"
}
}
}
]
Get Translations of a Verb by IDGET/verbs/{id}/translations
Example URI
- id
string
(required) Example: 5849da8acb46ec150a090068ID of the Verb
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"infinitive": "gehen",
"language": "de",
"url": "/verbs/de/gehen",
"id": "5849dfbbfa380e1a36daf91d",
"conjugations": {
"present": {
"s1": "gehe",
"s2": "gehst",
"s3m": "geht"
}
}
}
]
Create a Translation of a VerbPOST/verbs/{language_code}/{infinitive}/translations
Example URI
- language_code
string
(required) Example: enISO 639-1 code of the Language
- infinitive
string
(required) Example: goInfinitive of the Verb
Headers
Content-Type: application/json; charset=utf-8
Body
{
"infinitive": "hingehen",
"language": "de",
"conjugations": {
"present": {
"s1": "gehe hin",
"s2": "gehst hin",
"s3m": "geht hin"
}
}
}
201
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"infinitive": "go",
"language": "en",
"url": "/verbs/en/go",
"id": "5849da8acb46ec150a090068",
"conjugations": {
"present": {
"s1": "go",
"s2": "go",
"s3m": "goes"
}
}
},
{
"infinitive": "hingehen",
"language": "de",
"url": "/verbs/de/hingehen",
"id": "584b0ed824a4b9032d2cde1f",
"conjugations": {
"present": {
"s1": "gehe hin",
"s2": "gehst hin",
"s3m": "geht hin"
}
}
}
]
Link Translations of two VerbsPOST/verbs/{language_code}/{infinitive}/translations/{translation_language_code}
Example URI
- language_code
string
(required) Example: enISO 639-1 code of the Language
- infinitive
string
(required) Example: goInfinitive of the Verb
- translation_language_code
string
(required) Example: deISO 639-1 code of the Translation Language
with ID
Headers
Content-Type: application/json; charset=utf-8
Body
{
"id": "5849eb774a5d2f244f416e6a"
}
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"infinitive": "go",
"language": "en",
"url": "/verbs/en/go",
"id": "5849da8acb46ec150a090068",
"conjugations": {
"present": {
"s1": "go",
"s2": "go",
"s3m": "goes"
}
}
},
{
"infinitive": "fahren",
"language": "de",
"url": "/verbs/de/fahren",
"id": "5849eb774a5d2f244f416e6a",
"conjugations": {
"present": {
"s1": "fahre",
"s2": "fährst",
"s3m": "fährt"
}
}
}
]
with Infinitive
Headers
Content-Type: application/json; charset=utf-8
Body
{
"infinitive": "fahren"
}
200
Headers
Content-Type: application/json; charset=utf-8
Body
[
{
"infinitive": "go",
"language": "en",
"url": "/verbs/en/go",
"id": "5849da8acb46ec150a090068",
"conjugations": {
"present": {
"s1": "go",
"s2": "go",
"s3m": "goes"
}
}
},
{
"infinitive": "fahren",
"language": "de",
"url": "/verbs/de/fahren",
"id": "5849eb774a5d2f244f416e6a",
"conjugations": {
"present": {
"s1": "fahre",
"s2": "fährst",
"s3m": "fährt"
}
}
}
]
Update Verb by IDPUT/verbs/{id}
Example URI
- id
string
(required) Example: 5849da8acb46ec150a090068ID of the Verb
Headers
Content-Type: application/json; charset=utf-8
Body
{
"infinitive": "Walk",
"conjugations": {
"present": {
"1s": "walk",
"2s": "walk",
"3ms": "walks"
}
}
}
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"infinitive": "walk",
"language": "de",
"url": "/verbs/de/walk",
"id": "5849dfbbfa380e1a36daf91d",
"conjugations": {
"present": {
"s1": "walk",
"s2": "walk",
"s3m": "walks"
}
}
}
Update Verb by Language Code and InfinitivePUT/verbs/{language_code}/{infinitive}
Example URI
- language_code
string
(required) Example: enISO 639-1 code of the Language
- infinitive
string
(required) Example: goInfinitive of the Verb
Headers
Content-Type: application/json; charset=utf-8
Body
{
"infinitive": "Walk",
"conjugations": {
"present": {
"s1": "walk",
"s2": "walk",
"s3m": "walk"
}
}
}
200
Headers
Content-Type: application/json; charset=utf-8
Body
{
"infinitive": "walk",
"language": "en",
"url": "/verbs/en/walk",
"id": "5849dfbbfa380e1a36daf91d",
"conjugations": {
"present": {
"s1": "walk",
"s2": "walk",
"s3m": "walks"
}
}
}
Delete Verb by IDDELETE/verbs/{id}
Example URI
- id
string
(required) Example: 5849da8acb46ec150a090068ID of the Verb
204
Delete Verb by Language Code and InfinitiveDELETE/verbs/{language_code}/{infinitive}
Example URI
- language_code
string
(required) Example: enISO 639-1 code of the Language
- infinitive
string
(required) Example: goInfinitive of the Verb
204