Skip to content

RPS-10045 Download job files#31

Merged
az-smartling merged 2 commits into
masterfrom
RPS-10045_Bulk_downloading_files
May 19, 2026
Merged

RPS-10045 Download job files#31
az-smartling merged 2 commits into
masterfrom
RPS-10045_Bulk_downloading_files

Conversation

@az-smartling

@az-smartling az-smartling commented May 14, 2026

Copy link
Copy Markdown
Contributor

Download job files

Smartling/smartling-cli#101

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the ListFiles method to the Job interface, enabling paginated retrieval of source files associated with a translation job. It also enhances GetJobResponse by adding TargetLocaleIDs and standardizes parameter naming by replacing translationJobUID with jobUID. Feedback was provided to optimize performance in ListFiles by pre-allocating the results slice based on the total item count returned by the API.

Comment thread api/job/job.go Outdated
Comment thread api/job/job.go Outdated
@az-smartling az-smartling requested a review from dimitrystd May 18, 2026 15:17
@az-smartling az-smartling merged commit 9a53906 into master May 19, 2026
@az-smartling az-smartling deleted the RPS-10045_Bulk_downloading_files branch May 19, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants