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
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
}
],
"paths": {
"/article/{dict_id}/{art_id}": {
"/dict/{dict_id}/article/{art_id}": {
"get": {
"summary": "Article lookup",
"description": "Returns an article with a specific numeric ID",
......@@ -56,7 +56,7 @@
}
}
},
"/article/{dict_id}/search": {
"/dict/{dict_id}/article/search": {
"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)",
......@@ -99,7 +99,7 @@
}
}
},
"/article/{dict_id}/suggest": {
"/dict/{dict_id}/article/suggest": {
"get": {
"summary": "Get autocomplete suggestions for a prefix",
"description": "Returns articles for words that begin with the prefix specified in query string 'q'",
......
......@@ -174,7 +174,7 @@ Resources:
Forward: none
ViewerProtocolPolicy: redirect-to-https
CacheBehaviors:
- PathPattern: "/api/article/*"
- PathPattern: "/api/dict/*"
AllowedMethods:
- HEAD
- 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