This message was deleted.
# develocity
s
This message was deleted.
g
Hi @Vinay Potluri, you can use the
taskExections
on this endpoint to get all tasks of a given build. There is no endpoint to get all builds that executed a given task by name. There you'd need to stream all builds and select the ones which has the given task names with the above endpoint. A sample of how this can be done, can be seen here: https://github.com/gradle/gradle-enterprise-api-samples
šŸ‘ 1
v
I was able query using the above mentioned endpoint. I used a combination of the following APIs which were used under the hood by Gradle enterprise UI • Get builds filtered by custom values ex: <https://{enterpriseURL}/scans-data?names=FOO&values=BAR&timeZoneId=America%2FLos_Angeles&queryTimestamp=1672214400000&startTimeMax=1672214400000.0&startTimeMin=1671523200000> • Fetch data for each build https://{enterpriseURL}/gradle-build-cache-performance
g
Hi, that is possible but keep in mind that this is not supported and this internal API can change in any release without any notice or any support from our side. We have it on our list to provide such an API but there is no ETA yet.
āœ… 1