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

refs meta#150

parent 1b5387d3
No related branches found
Tags release_2021-10-01
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
} }
], ],
"paths": { "paths": {
"/article/{dict_id}/{art_id}": { "/dict/{dict_id}/article/{art_id}": {
"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",
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
} }
} }
}, },
"/article/{dict_id}/search": { "/dict/{dict_id}/article/search": {
"get": { "get": {
"summary": "Search for a word", "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)", "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)",
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
} }
} }
}, },
"/article/{dict_id}/suggest": { "/dict/{dict_id}/article/suggest": {
"get": { "get": {
"summary": "Get autocomplete suggestions for a prefix", "summary": "Get autocomplete suggestions for a prefix",
"description": "Returns articles for words that begin with the prefix specified in query string 'q'", "description": "Returns articles for words that begin with the prefix specified in query string 'q'",
......
...@@ -174,7 +174,7 @@ Resources: ...@@ -174,7 +174,7 @@ Resources:
Forward: none Forward: none
ViewerProtocolPolicy: redirect-to-https ViewerProtocolPolicy: redirect-to-https
CacheBehaviors: CacheBehaviors:
- PathPattern: "/api/article/*" - PathPattern: "/api/dict/*"
AllowedMethods: AllowedMethods:
- HEAD - HEAD
- DELETE - DELETE
......
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