File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
test/serverless-tests/best Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,38 @@ functions:
113113 responseModels :
114114 application/json : ErrorResponse
115115 owasp : true
116+ - http :
117+ path : /{contentId}/{path}
118+ method : GET
119+ documentation :
120+ description : A method to bring back content from OpenSearch
121+ summary : get content from OpenSearch
122+ operationId : getContentByPath
123+ pathParams :
124+ - name : contentId
125+ description : The id of the piece of content to get
126+ schema :
127+ type : string
128+ format : uuid
129+ - name : path
130+ description : The path the content lives at
131+ schema :
132+ type : string
133+ tags :
134+ - OpenSearch
135+ methodResponses :
136+ - statusCode : 200
137+ responseBody :
138+ description : The content requested
139+ responseModels :
140+ application/json : SuccessResponse
141+ owasp : true
142+ - statusCode : 404
143+ responseBody :
144+ description : An error occured
145+ responseModels :
146+ application/json : ErrorResponse
147+ owasp : true
116148
117149 createContent :
118150 handler : handler.createContent
You can’t perform that action at this time.
0 commit comments