Skip to content

Add last_modified and last_modified_by to config list - #41

Merged
padak merged 1 commit into
mainfrom
fix/config-list-metadata
Mar 24, 2026
Merged

Add last_modified and last_modified_by to config list#41
padak merged 1 commit into
mainfrom
fix/config-list-metadata

Conversation

@padak

@padak padak commented Mar 24, 2026

Copy link
Copy Markdown
Member

Summary

Resolves #39

  • Add last_modified, last_modified_by, and last_change_description fields to kbagent config list output
  • Human-readable table now shows "Last Modified" (date) and "Modified By" columns instead of Description
  • Fields extracted from currentVersion.created and currentVersion.creatorToken.description in Storage API response

Before

{
  "config_id": "01km0sd189fdrcnjwk89cd1fkc",
  "config_name": "Test Rename XYZ",
  "config_description": ""
}

After

{
  "config_id": "01km0sd189fdrcnjwk89cd1fkc",
  "config_name": "Test Rename XYZ",
  "config_description": "",
  "last_modified": "2026-03-24T15:50:47+0100",
  "last_modified_by": "kbagent-cli (Padak)",
  "last_change_description": "Updated via kbagent sync push"
}

Test plan

  • kbagent --json config list returns new fields
  • kbagent config list shows date and author columns
  • All 1045 tests pass

Resolves #39. Extract currentVersion.created and
currentVersion.creatorToken.description from Storage API response.

JSON output now includes: last_modified, last_modified_by,
last_change_description. Human table replaces Description column
with Last Modified and Modified By columns.
@padak
padak merged commit e28b6c9 into main Mar 24, 2026
1 check passed
@padak
padak deleted the fix/config-list-metadata branch March 26, 2026 11:44
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.

config list: missing last edit date and author in output

1 participant