@@ -145,6 +145,94 @@ llmo-sheet-data-with-type:
145145    security :
146146      - api_key : [ ] 
147147
148+ llmo-sheet-data-with-type-and-week :
149+   parameters :
150+     - $ref : ' ./parameters.yaml#/siteId' 
151+     - name : sheetType 
152+       in : path 
153+       required : true 
154+       description : The sheet type identifier to fetch from the external endpoint 
155+       schema :
156+         type : string 
157+         example : ' analytics' 
158+     - name : week 
159+       in : path 
160+       required : true 
161+       description : The week identifier (e.g., w01, w02) to fetch time-series data 
162+       schema :
163+         type : string 
164+         pattern : ' ^w\d{2}$' 
165+         example : ' w01' 
166+     - name : dataSource 
167+       in : path 
168+       required : true 
169+       description : The data source identifier to fetch from the external endpoint 
170+       schema :
171+         type : string 
172+         example : ' questions' 
173+   get :
174+     tags :
175+       - llmo 
176+     summary : Get LLMO sheet data with sheet type and week 
177+     description : | 
178+       Retrieves data from the external LLMO data endpoint for a specific site with a specified sheet type and week. 
179+       This endpoint proxies data from the external HLX API based on the site's LLMO configuration. 
180+       The data is fetched from the path: {dataFolder}/{sheetType}/{week}/{dataSource}.json 
181+       This is useful for fetching time-series data organized by week. 
182+ operationId : getLlmoSheetDataWithTypeAndWeek 
183+     responses :
184+       ' 200 ' 
185+         description : LLMO sheet data retrieved successfully 
186+         content :
187+           application/json :
188+             schema :
189+               type : object 
190+               description : The data returned from the external LLMO endpoint 
191+               additionalProperties : true 
192+       ' 400 ' 
193+         $ref : ' ./responses.yaml#/400' 
194+       ' 401 ' 
195+         $ref : ' ./responses.yaml#/401' 
196+       ' 500 ' 
197+         $ref : ' ./responses.yaml#/500' 
198+     security :
199+       - api_key : [ ] 
200+   post :
201+     tags :
202+       - llmo 
203+     summary : Query LLMO sheet data with sheet type and week using filters, exclusions, and grouping 
204+     description : | 
205+       Retrieves and processes data from the external LLMO data endpoint for a specific site with a specified sheet type, 
206+       week, and advanced querying capabilities. This endpoint allows filtering data with case-insensitive exact matching, 
207+       excluding specific fields from the response, and grouping data by specified attributes. 
208+       The data is fetched from the path: {dataFolder}/{sheetType}/{week}/{dataSource}.json 
209+       The endpoint fetches all available data (up to 1M records) to apply the query operations effectively. 
210+       This is useful for fetching and analyzing time-series data organized by week. 
211+ operationId : queryLlmoSheetDataWithTypeAndWeek 
212+     requestBody :
213+       required : false 
214+       content :
215+         application/json :
216+           schema :
217+             $ref : ' ./schemas.yaml#/LlmoSheetDataQuery' 
218+     responses :
219+       ' 200 ' 
220+         description : LLMO sheet data queried and processed successfully 
221+         content :
222+           application/json :
223+             schema :
224+               type : object 
225+               description : The processed data returned from the external LLMO endpoint after applying filters, exclusions, and grouping 
226+               additionalProperties : true 
227+       ' 400 ' 
228+         $ref : ' ./responses.yaml#/400' 
229+       ' 401 ' 
230+         $ref : ' ./responses.yaml#/401' 
231+       ' 500 ' 
232+         $ref : ' ./responses.yaml#/500' 
233+     security :
234+       - api_key : [ ] 
235+ 
148236llmo-global-sheet-data :
149237  parameters :
150238    - $ref : ' ./parameters.yaml#/siteId' 
0 commit comments