Skip to content
Snippets Groups Projects
Commit 3b6aec58 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Merge branch 'dev' into 'prod'

Dev

See merge request spraksamlingane/beta.ordbok.uib.no!126
parents cbd1de5b 38d3eb6c
No related branches found
Tags release_2022-02-02_1
No related merge requests found
...@@ -49,7 +49,7 @@ paths: ...@@ -49,7 +49,7 @@ paths:
schema: schema:
type: string type: string
example: int example: int
responses: responses:
'200': '200':
description: OK description: OK
...@@ -99,7 +99,7 @@ paths: ...@@ -99,7 +99,7 @@ paths:
/{dict}/article/{article_id}.json: /{dict}/article/{article_id}.json:
get: get:
summary: Article lookup summary: Article lookup
description: Returns an article with a specific numeric ID description: Returns an article with a specific numeric ID
parameters: parameters:
- name: dict - name: dict
in: path in: path
...@@ -107,19 +107,19 @@ paths: ...@@ -107,19 +107,19 @@ paths:
description: Dictionary code, 'bm' for bokmål, 'nn' for nynorsk, 'bm,nn' for both description: Dictionary code, 'bm' for bokmål, 'nn' for nynorsk, 'bm,nn' for both
schema: schema:
type: string type: string
example: bm,nn example: bm
- name: article_id - name: article_id
in: path in: path
required: true required: true
description: The numeric ID of an article description: The numeric ID of an article
schema: schema:
type: integer type: integer
example: 15544 example: 54131
responses: responses:
'200': '200':
description: OK description: OK
content: content:
application/json: application/json:
schema: schema:
type: object type: object
\ No newline at end of file
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