Smartling FAPI v1 was extended, now it accepts a string with additional information about client application.
DoD:
- Add the new method
setClientUid(String name, String version) to SDK
- Call of method above is optional. SDK must send in this case
- Name of SDK =
smartling-api-sdk-php plus its version
- Exact format of strings
{"client":"smartling-api-sdk-php","version":"1.0.0" }
- SDK must add
smartling.client_lib_id directive to all Upload request into request params (not a file body)
- Unit test is added which verifies that any Upload request contains
smartling.client_lib_id directive
Example of implementation in java sdk
Smartling FAPI v1 was extended, now it accepts a string with additional information about client application.
DoD:
setClientUid(String name, String version)to SDKsmartling-api-sdk-phpplus its version{"client":"smartling-api-sdk-php","version":"1.0.0" }smartling.client_lib_iddirective to all Upload request into request params (not a file body)smartling.client_lib_iddirectiveExample of implementation in java sdk