Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing API endpoints for activities and activity details #2955

Open
baralai329 opened this issue Feb 7, 2025 · 0 comments
Open

Missing API endpoints for activities and activity details #2955

baralai329 opened this issue Feb 7, 2025 · 0 comments

Comments

@baralai329
Copy link

baralai329 commented Feb 7, 2025

There is an endpoint for the deployment status (/director/config/deployment-status) that returns a checksum for the latest activity deployed, but the endpoints for querying activity logs are not exposed as part of the API. This limits the ability to retrieve detailed information about what was deployed, what resources were updated, deleted, or created, and when those changes occurred.

The /director/config/activities endpoint and the /director/config/activity?id=xxx endpoint are available through the web interface but return a 404 error when queried through the API.

Current Behaviour

  • /director/config/activities returns a 404 error for API requests:
    { "error": "Not found" }

  • /director/config/activity?id=xxx also returns a 404 error for API requests:
    { "error": "Not found" }

Expected Behaviour

  • /director/config/activities:

    • Should return a 200 status code.
    • Should provide a list of all activities in the log.
    • Should include filtering options based on:
      • change_time
      • author
      • object_name
      • object_type
  • /director/config/activity?id=xxx:

    • Should return a 200 status code.
    • Should provide details of the activity with the specified ID xxx, including all of its associated fields.

Your Environment

  • Director version: 1.11.1
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

No branches or pull requests

1 participant