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

SettingsService list_objects scope parameter must be scopes #108

Closed
Dynatrace-Jeroen-Hautekeete opened this issue Jan 13, 2025 · 0 comments · Fixed by #109
Closed

SettingsService list_objects scope parameter must be scopes #108

Dynatrace-Jeroen-Hautekeete opened this issue Jan 13, 2025 · 0 comments · Fixed by #109
Labels
bug Something isn't working

Comments

@Dynatrace-Jeroen-Hautekeete
Copy link
Contributor

Describe the bug
Typo in parameter name for SettingsService list_objects : 'scope' should become 'scopes'

To Reproduce
Steps to reproduce the behavior:

  • settings = dt.settings.list_objects(schema_id="builtin:oneagent.features", scope=myEntityId)

Expected behavior
Call should only return objects specifically bound to the requested entityId's. Currently all objects with this schemas are returned and the wrong parameter is silently ignored (by Dynatrace API)

Desktop (please complete the following information):
Linux VM with Python scripts using library "dt=1.1.72"

Additional context
(https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/settings/objects/get-objects)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant