"description":"Returns an article with a specific numerical ID",
"parameters":[
"parameters":[
{
{
"name":"dict_id",
"name":"dict_id",
...
@@ -27,6 +29,7 @@
...
@@ -27,6 +29,7 @@
"name":"art_id",
"name":"art_id",
"in":"path",
"in":"path",
"required":true,
"required":true,
"description":"The numerical ID of an article",
"schema":{
"schema":{
"type":"integer"
"type":"integer"
}
}
...
@@ -52,13 +55,13 @@
...
@@ -52,13 +55,13 @@
}
}
},
},
"/article/{dict_id}/search":{
"/article/{dict_id}/search":{
"summary":"Search for a word",
"description":"Search for words as an article lemmas, or words occurring in certain article elements. For instance, old norse _fljúga_ will match the article for modern Norwegian verb _fly_ (meaning to fly)",
"get":{
"get":{
"summary":"Search for a word",
"description":"Search for words as an article lemmas, or words occurring in certain article elements. For instance, old norse _fljúga_ will match the article for modern Norwegian verb _fly_ (meaning to fly)",
"parameters":[
"parameters":[
{
{
"name":"dict_id",
"name":"dict_id",
"description":"Dictionary to search, 'bob' for bokmål, 'nob' for nynorsk, 'bob,bob' for both",
"description":"Dictionary to search, 'bob' for bokmål, 'nob' for nynorsk, 'bob,nob' for both",