We where using the /download/<PROJECT KEY>-<PLAN KEY>-BP/build_logs/NB API for a while, and it did what we wanted. However, this API doesn't work with a 'Authorization: Bearer' token =(.
Now we switched to the /rest/api/1.0/result/PLAN-JOB-80?expand=logEntries&max-results={number-of-entries} API. However, this API is ridiculously slow. It takes like 2-3 seconds for a 100'000 lines log. Longer longs even can bring Bamboo down on its knees.
Plus the API generates way lager data transfer, as each line it packaged in its own JSON entry. We really wished to just get the logs. All the JSON around it is just overhead on both sides.
We where using the /download/<PROJECT KEY>-<PLAN KEY>-BP/build_logs/NB API for a while, and it did what we wanted. However, this API doesn't work with a 'Authorization: Bearer' token =(.
Now we switched to the /rest/api/1.0/result/PLAN-JOB-80?expand=logEntries&max-results={number-of-entries} API. However, this API is ridiculously slow. It takes like 2-3 seconds for a 100'000 lines log. Longer longs even can bring Bamboo down on its knees.
Plus the API generates way lager data transfer, as each line it packaged in its own JSON entry. We really wished to just get the logs. All the JSON around it is just overhead on both sides.