How could I get full job log by API?

api
#1

Hello.
I have a task to analyze job log in offline mode, because I do not have access to web-interface of Bitrise, but I could request Bitrise by API.
I’ve tried to get full job log by API as mentioned here. But after downloading log file I’ve discovered that it contains only small part of full log.
For example, I have a bit smaller than 500 log chunks (“generated_log_chunks_num”: 489,) but in the downloaded file I see only last ten log chunks.
Is it possible to get all log chunks by API request or maybe is there another way to download raw full log by API request?
Thank You

0 Likes

#2

Hello,

The response should contain an expiring_raw_log_url in the response to download the entire log!

cathy

0 Likes

#3

Thank You for answer.
But in case I request the url expiring_raw_log_url could I get really the full log or only first 50 chunks?

0 Likes