Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
6351948
feat: add filtering functionality to LlmoController.
calvarezg Sep 11, 2025
dc97862
feat: implement attribute exclusion functionality in LlmoController
calvarezg Sep 11, 2025
dec0698
feat: add grouping functionality to LlmoController for data arrays
calvarezg Sep 12, 2025
f396c17
feat: creates a separated new method for handling post calls that wil…
calvarezg Sep 12, 2025
82c946c
feat: add new POST endpoints for querying LLMO sheet data with advanc…
calvarezg Sep 12, 2025
d5c0f56
feat: add inclusion functionality to LlmoController for data arrays
calvarezg Sep 12, 2025
2fd3dc5
refactor: reorder filter application in LlmoController for improved c…
calvarezg Sep 12, 2025
968dda8
feat: include status attribute in LlmoController test assertions for …
calvarezg Sep 12, 2025
e379eb8
Adds logging info to queryLlmoSheetData
calvarezg Sep 12, 2025
649a04d
Merge branch 'main' into LLMO-310-filter-llmo-sheet
calvarezg Sep 15, 2025
67e6f4f
feat: add sheets parameter to LlmoSheetDataQuery and implement filter…
calvarezg Sep 15, 2025
5400a67
feat: enhance LlmoController with data mapping functionality and upda…
calvarezg Sep 15, 2025
ac3b4e5
fix: update brand presence pattern in llmo-mappings and adjust test d…
calvarezg Sep 15, 2025
454723e
feat: add logging for data source mapping in LlmoController
calvarezg Sep 15, 2025
b6be42b
refactor: improve logging format for data source mapping in LlmoContr…
calvarezg Sep 15, 2025
e830720
feat: enhance logging for key mappings in LlmoController
calvarezg Sep 15, 2025
bb8cccd
feat: add additional mappings for brand domain and mentions in llmo-m…
calvarezg Sep 16, 2025
33cde09
Merge branch 'main' into LLMO-310-filter-llmo-sheet
calvarezg Sep 16, 2025
1f859e8
Merge branch 'main' into LLMO-310-filter-llmo-sheet
calvarezg Sep 16, 2025
c3e55e0
fix(llmo): add null check for original field values in mappings
calvarezg Sep 16, 2025
f5f51b9
Merge branch 'main' into LLMO-310-filter-llmo-sheet
calvarezg Sep 16, 2025
a5929c0
Merge branch 'main' into LLMO-310-filter-llmo-sheet
calvarezg Sep 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 92 additions & 18 deletions docs/index.html

Large diffs are not rendered by default.

67 changes: 67 additions & 0 deletions docs/openapi/llmo-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,39 @@ llmo-sheet-data:
$ref: './responses.yaml#/500'
security:
- api_key: [ ]
post:
tags:
- llmo
summary: Query LLMO sheet data with filters, exclusions, and grouping
description: |
Retrieves and processes data from the external LLMO data endpoint for a specific site with advanced querying capabilities.
This endpoint allows filtering data with case-insensitive exact matching, excluding specific fields from the response,
and grouping data by specified attributes. The endpoint fetches all available data (up to 1M records) to apply
the query operations effectively.
operationId: queryLlmoSheetData
requestBody:
required: false
content:
application/json:
schema:
$ref: './schemas.yaml#/LlmoSheetDataQuery'
responses:
'200':
description: LLMO sheet data queried and processed successfully
content:
application/json:
schema:
type: object
description: The processed data returned from the external LLMO endpoint after applying filters, exclusions, and grouping
additionalProperties: true
'400':
$ref: './responses.yaml#/400'
'401':
$ref: './responses.yaml#/401'
'500':
$ref: './responses.yaml#/500'
security:
- api_key: [ ]

llmo-sheet-data-with-type:
parameters:
Expand Down Expand Up @@ -77,6 +110,40 @@ llmo-sheet-data-with-type:
$ref: './responses.yaml#/500'
security:
- api_key: [ ]
post:
tags:
- llmo
summary: Query LLMO sheet data with sheet type using filters, exclusions, and grouping
description: |
Retrieves and processes data from the external LLMO data endpoint for a specific site with a specified sheet type
and advanced querying capabilities. This endpoint allows filtering data with case-insensitive exact matching,
excluding specific fields from the response, and grouping data by specified attributes.
The data is fetched from the path: {dataFolder}/{sheetType}/{dataSource}.json
The endpoint fetches all available data (up to 1M records) to apply the query operations effectively.
operationId: queryLlmoSheetDataWithType
requestBody:
required: false
content:
application/json:
schema:
$ref: './schemas.yaml#/LlmoSheetDataQuery'
responses:
'200':
description: LLMO sheet data queried and processed successfully
content:
application/json:
schema:
type: object
description: The processed data returned from the external LLMO endpoint after applying filters, exclusions, and grouping
additionalProperties: true
'400':
$ref: './responses.yaml#/400'
'401':
$ref: './responses.yaml#/401'
'500':
$ref: './responses.yaml#/500'
security:
- api_key: [ ]

llmo-global-sheet-data:
parameters:
Expand Down
27 changes: 27 additions & 0 deletions docs/openapi/schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3571,6 +3571,33 @@ LlmoConfig:
$ref: '#/LlmoCdnBucketConfig'
additionalProperties: false

LlmoSheetDataQuery:
type: object
description: Query parameters for LLMO sheet data
properties:
sheets:
description: Sheets to include from the data
type: object
additionalProperties: true
filters:
description: Filters to apply to the data
type: object
include:
description: Fields to include from the data
type: array
additionalProperties: true
exclude:
description: Fields to exclude from the data
type: array
items:
type: string
groupBy:
description: Fields to group the data by
type: array
items:
type: string
additionalProperties: false

# New schemas for entitlements, trial users, and site enrollments APIs
Entitlement:
type: object
Expand Down
Loading