Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions docs/apis-for-app-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<div className="lambdatest__codeblock">
<CodeBlock className="language-bash">
{`curl 'https://api.lambdatest.com/lshs/api/v1.0/share-item/generate-sharable-link' \
-H 'authorization: Bearer <Bearer Token>' \
--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}'`}
</CodeBlock>
</div>

To generate public shareable test link, run the below cURL command.

To generate public **shareable test link**, run the below cURL command.

<div className="lambdatest__codeblock">
<CodeBlock className="language-bash">
{`curl 'https://api.lambdatest.com/lshs/api/v1.0/share-item/generate-sharable-link' \
-H 'authorization: Bearer <Bearer Token>' \
--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}'
`}

</CodeBlock>
</div>

Expand All @@ -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 <span className="doc__lt" onClick={() => window.openLTChatWidget()}>**24X7 Chat Support**</span> or mail us directly at support@lambdatest.com.

<nav aria-label="breadcrumbs">
Expand Down
Loading