-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 5.0.0, Insight 10.0.7
-
Component/s: Assets - Core experiences
-
1
-
Severity 3 - Minor
Issue Summary
https://docs.atlassian.com/assets/REST/10.4.4/#objectschema-findObjectTypeFlatList
According to the Assets API documentation above, you can pass a query string to the API endpoint to filter on the available object types. However, when trying to pass a query string to filter the available object types, nothing is returned. Without the query string, all object types under the schema would be returned.
This is reproducible on Data Center: (yes)
Steps to Reproduce
- Step 1: Send an API call at the following end point and pass a query string to filter on the available object types: /rest/assets/latest/objectschema/
{id}
/objecttypes/flat?query=
{StringToFilterForObjectTypes} - Step 2
Review the result of the API call
Expected Results
The expected result is that Assets will return all object types matching the filter in the query string
Actual Results
The actual result is that the response is empty, with a HTTP 200 status.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- links to