diff --git a/docs/apis-for-app-testing.md b/docs/apis-for-app-testing.md index 1d083cd1b..76fd73472 100644 --- a/docs/apis-for-app-testing.md +++ b/docs/apis-for-app-testing.md @@ -239,23 +239,28 @@ Shown below is the response to the above cURL request. ## Generate publicly shareable build and test links *** -To generate public shareable build link, run the below cURL command. +To generate public **shareable build link**, run the below cURL command.
{`curl 'https://api.lambdatest.com/lshs/api/v1.0/share-item/generate-sharable-link' \ - -H 'authorization: Bearer ' \ - --data-raw '{"entityIds":["123456"],"entityType":"App Automation Build","expiresAt":7}'`} + -H 'Content-Type: application/json' \ + -u "${YOUR_LAMBDATEST_USERNAME()}:${YOUR_LAMBDATEST_ACCESS_KEY()}" \ + --data-raw '{"entityIds":["buildID"],"entityType":"App Automation Build","expiresAt":7}'`}
-To generate public shareable test link, run the below cURL command. + +To generate public **shareable test link**, run the below cURL command.
{`curl 'https://api.lambdatest.com/lshs/api/v1.0/share-item/generate-sharable-link' \ - -H 'authorization: Bearer ' \ - --data-raw '{"entityIds":["APPTESaBCDefGHI5JlMnOPQ"],"entityType":"App Automation Test","expiresAt":7}'`} + -H 'Content-Type: application/json' \ + -u "${YOUR_LAMBDATEST_USERNAME()}:${YOUR_LAMBDATEST_ACCESS_KEY()}" \ + --data-raw '{"entityIds":["testID"],"entityType":"App Automation Test","expiresAt":7}' +`} +
@@ -267,6 +272,11 @@ To generate public shareable test link, run the below cURL command. ----- +:::note +The shareable links are valid for a period of 7, 15, or 30 days, after which they will expire. + +::: + >That’s all! In case you have any questions or need any additional information, you could reach out at our  window.openLTChatWidget()}>**24X7 Chat Support** or mail us directly at support@lambdatest.com.