Skip to content

Conversation

@JonJagger
Copy link
Contributor

@JonJagger JonJagger commented Mar 11, 2025

Just noticed that the JSON returned by this live-docs call seem to have all IDs and no Names. Eg

   ...
   "org_id": "83acb2bc-2c26-48a7-8b87-90dfcce7",
   "flow_id": "f60c8f3f-67cd-4496-8e17-ed6fdb1e",
   "trail_id": "591aa98f-5ce9-420c-86f2-fbc0316f",
   ...

@JonJagger JonJagger enabled auto-merge March 11, 2025 19:42
@FayeSGW
Copy link
Contributor

FayeSGW commented Mar 11, 2025

Looking at the json, it looks like the ids are in the events for each trail - the trail itself does display its name (just higher up).

I think this is probably because when we constructed the cleaned json for the trail, the list of events is made using event.model_dump(), and the TrailEvent model only has the ids and not names.

We can probably write a json function for the trail events to use in the API which shows names instead? Can look at it tomorrow.

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.

3 participants