Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and update cURL examples #558

Merged
merged 1 commit into from
May 13, 2024
Merged

Add and update cURL examples #558

merged 1 commit into from
May 13, 2024

Conversation

szuperaz
Copy link
Contributor

@szuperaz szuperaz commented May 10, 2024

  • Add missing cURL examples
  • Test all cURL examples
  • Make sure that cURL examples use v2 endponts
  • Add example for token creation without SDK

@szuperaz szuperaz force-pushed the curl-examples branch 4 times, most recently from bd7736f to 4c403f1 Compare May 13, 2024 09:19
@szuperaz szuperaz marked this pull request as ready for review May 13, 2024 09:20

<TabItem value="bash" label="Bash">

```bash
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested, and the resulting token is accepted by the Stream API, but please still review just in case I missed something

@@ -84,9 +83,9 @@ call.start_recording(recording_external_storage= "my-s3")

```bash
curl -X POST https://video.stream-io-api.com/video/external_storage?api_key=${API_KEY} \
-H "Authorization: ${JWT_TOKEN}" \
-H "Content-Type: application/json" \
-H "Authorization: ${TOKEN}" \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://video.stream-io-api.com/api/v2/external_storage isn't working so I left the old URL here

@szuperaz szuperaz force-pushed the curl-examples branch 2 times, most recently from e23f1fe to a32423e Compare May 13, 2024 14:16
@tbarbugli tbarbugli merged commit bb5eb53 into main May 13, 2024
3 checks passed
@tbarbugli tbarbugli deleted the curl-examples branch May 13, 2024 14:31
@github-actions github-actions bot mentioned this pull request May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants