/extras/object-changes API does not accept object type names, instead requiring ids that are hard to obtain #4431
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
Environment
When utilizing the API
/extras/object-changes
there is a parameterchanged_object_type
that requires you to specify a numeric identifier (such as47
), despite having it's type specified asstring
, for the object type you want to query. This is inconsistent with the result set returned by this API call which uses a serialized value for thechanged_object_type
field for each result (such asipam.ipaddress
). This causes a lot of frustration when learning how to use this API and overall "feels" like a bug.I am not certain but this may be related to issue #3001 which ended with a vague suggestion to open a new issue for "this".
Steps to Reproduce
/extras/object-changes/?changed_object_type=ipam.ipaddress
Expected Behavior
Results for changed IP addresses should be returned
Observed Behavior
The following is returned:
The text was updated successfully, but these errors were encountered: