Skip to content

✨(api) implement GET /statements related_agents query parameter - #643

Open
piptouque wants to merge 1 commit into
openfun:mainfrom
piptouque:feat_implement_related_agents
Open

piptouque wants to merge 1 commit into
openfun:mainfrom
piptouque:feat_implement_related_agents

Conversation

@piptouque

@piptouque piptouque commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Purpose

With related_agents=True in a GET /xAPI/statements query, the LRS checks for matching agents in:

  • actor
  • object
  • authority
  • context.intructor
  • context.team and any such applicable fields in the object if it is a SubStatement.

Here is the relevant part of the xAPI specification.

Proposal

Implement related_agents query parameter in each relevant back-end:

  • Filesystem already implemented
  • Clickhouse
  • MongoDB
  • ElasticSearch

And also:

  • update tests
  • update OpenAPI Schema

@piptouque
piptouque force-pushed the feat_implement_related_agents branch from 3d1a155 to e580c21 Compare September 17, 2026 08:27
With `related_agents=True` in a query,
the LRS checks for matching agents in:
- `actor`
- `object`
- `authority`
- `context.intructor`
- `context.team`
and any such applicable fields in the `object` if it is a SubStatement.
@piptouque
piptouque force-pushed the feat_implement_related_agents branch from e580c21 to 195331e Compare September 17, 2026 09:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant