Is there a way to suppress the list of objects in the Assets import API response?

Rick Westbrock
Contributor
February 9, 2024

I have an orchestration job which uses the Assets API to trigger an import then periodically poll for status until the import has completed. When the job has finished the JSON response body includes the object key of every object created or updated.

Normally this is not a problem however when I have a large file being imported the response body is absolutely huge. For example one run created/updated about 18,000 objects and the JSON response was about 317K characters.

I can't find anything in the documentation for the Progress API about a parameter to pass which would suppress the return of the object keys. For my use case that list of keys is not necessary, I just want to know that the import completed so does anyone know of a way to suppress the "objectTypeResultMap" element in the response body?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events