Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Språksamlingane
beta.ordbok.uib.no
Commits
38d3eb6c
Commit
38d3eb6c
authored
3 years ago
by
Henrik Askjer
Browse files
Options
Downloads
Patches
Plain Diff
Dev
parent
cbd1de5b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api_static/api/swagger.yml
+6
-6
6 additions, 6 deletions
api_static/api/swagger.yml
with
6 additions
and
6 deletions
api_static/api/swagger.yml
+
6
−
6
View file @
38d3eb6c
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment