.Net SDK for integrating with the Smartling API. The Smartling API allows developers to upload language specific resource files and download the translations of those files for easy integration within their application. http://docs.smartling.com
Apache License 2.0
1
stars
6
forks
source link
Add more parameters for /recently-published API #34
We updated recently-published API. Namely, we added:
Pagination
Search by fileUri and locale
Below kind of new spec
Request
GET /published-files-api/v2/projects/{projectId}/files/list/recently-published?publishedAfter={UTC}&fileUris[]=file1&fileUris[]=file2&localeIds[]=ru-RU&localeIds[]=es-ES&limit={limit}&offset={offset}
Parameters:
publishedAfter - mandatory parameter
fileUris[] - optional parameter; list of file URIs
localeIds[] - optional parameter; list of locale ids
limit - optional parameter; limit to paginate through results
offset - optional parameter; offset to paginate through results
Validation/Limits:
publishedAfter is limited to 14 days back from now
Only last 14 days of events are stored
fileUris[], list of file URIs, max amount is 20 files
localeIds[], list of locales, max amount is 50 locales
limit is integer, greater than zero
offset is integer, greater than or equals to zero, requires limit
DoD:
Add optional params for recently-published call
limit and offset
fileUris and localeIds
Let's also do primitive validation of limit and offset in SDK (had some issue with another SDK)
We updated recently-published API. Namely, we added:
Below kind of new spec Request
Parameters:
Validation/Limits:
DoD: