Skip to content
Snippets Groups Projects
Commit ae55afa1 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

eksempler, bedre tittel

parent aa6a5700
No related branches found
Tags release_2021-10-01_1
No related merge requests found
{
"openapi": "3.0.1",
"info": {
"title": "Dictionary JSON API",
"title": "Ordbok API",
"description": "This API is developed by the University of Bergen. Its purpose is to serve the new national dictionary website wich is under development. API keys are available upon request. No warranty.",
"version": "beta"
},
......@@ -14,7 +14,7 @@
"/article/{dict_id}/{art_id}": {
"get": {
"summary": "Article lookup",
"description": "Returns an article with a specific numerical ID",
"description": "Returns an article with a specific numeric ID",
"parameters": [
{
"name": "dict_id",
......@@ -23,16 +23,18 @@
"description": "Dictionary code, 'bob' for bokmål, 'nob' for nynorsk",
"schema": {
"type": "string"
}
},
"example": "bob"
},
{
"name": "art_id",
"in": "path",
"required": true,
"description": "The numerical ID of an article",
"description": "The numeric ID of an article",
"schema": {
"type": "integer"
}
},
"example": 15544
}
],
"security": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment