Skip to content

Commit

Permalink
docs: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlaz committed Apr 8, 2024
1 parent a04c331 commit 19476f7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docusaurus/video/docusaurus/docs/api/recording/storage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ slug: /recording/storage
title: Storage
---


import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Expand Down Expand Up @@ -52,11 +53,14 @@ await call.startRecording({
recording_external_storage: "my-s3",
});
```

</TabItem>
<TabItem value="py" label="Python">

```py
// TODO: code example for Python
```

</TabItem>
<TabItem value="curl" label="cURL">

Expand All @@ -76,7 +80,6 @@ curl -X POST https://video.stream-io-api.com/video/external_storage?api_key=${AP
}
}'


curl -X PATCH https://video.stream-io-api.com/video/call_types/${CALL_TYPE_ID}?api_key=${API_KEY} \
-H "Authorization: ${JWT_TOKEN}" -H "stream-auth-type: jwt" \
-d '{
Expand Down Expand Up @@ -213,6 +216,7 @@ Note: you can find the JSON service account credentials in the Google Cloud Cons

<Tabs groupId="examples">
<TabItem value="js" label="JavaScript">

```js
// 1. create a new storage using the service account credentials

Expand All @@ -224,16 +228,18 @@ await serverSideClient.createExternalStorage({
"gcs_credentials": "content of the service account file",
});
```

</TabItem>
<TabItem value="py" label="Python">

```py
# TODO: code example for Python
```

</TabItem>
<TabItem value="curl" label="cURL">

```bash

curl -X POST https://video.stream-io-api.com/video/external_storage?api_key=${API_KEY} \
-H "Authorization: ${JWT_TOKEN}" -H "stream-auth-type: jwt" \
-d '{
Expand All @@ -243,7 +249,6 @@ curl -X POST https://video.stream-io-api.com/video/external_storage?api_key=${AP
"custom_folder": "my-folder",
"gcs_credentials": "content of the service account file"
}'

```

</TabItem>
Expand Down

0 comments on commit 19476f7

Please sign in to comment.