You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[api.video](https://api.video) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
6
7
7
-
# Table of contents
8
+
##Table of contents
8
9
10
+
-[Table of contents](#table-of-contents)
9
11
-[Project description](#project-description)
10
12
-[Getting started](#getting-started)
11
13
-[Installation](#installation)
12
14
-[Carthage](#carthage)
13
-
-[CocoaPods](#cocoaPods)
15
+
-[CocoaPods](#cocoapods)
14
16
-[Code sample](#code-sample)
15
17
-[Documentation](#documentation)
16
18
-[API Endpoints](#api-endpoints)
17
-
-[VideosAPI](#VideosAPI)
19
+
-[VideosAPI](#videosapi)
20
+
-[Retrieve an instance of VideosAPI:](#retrieve-an-instance-of-videosapi)
-[Documentation for Authorization](#documentation-for-authorization)
20
24
-[API key](#api-key)
21
25
-[Public endpoints](#public-endpoints)
22
-
-[Have you gotten use from this API client?](#have-you-gotten-use-from-this-api-client)
26
+
-[Have you gotten use from this API client?](#have-you-gotten-use-from-this-api-client)
23
27
-[Contribution](#contribution)
24
28
25
-
# Project description
29
+
<!--</documentation_excluded>-->
30
+
<!--<documentation_only>
31
+
---
32
+
title: api.video Swift video uploader
33
+
meta:
34
+
description: The official api.video Swift video uploader for api.video. [api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
35
+
---
26
36
27
-
api.video's Swift for iOS, macOS and tvOS uploads videos to api.video using delegated upload token or API Key.
37
+
# api.video Swift video uploader
38
+
39
+
[api.video](https://api.video/) is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.
40
+
41
+
</documentation_only>-->
42
+
## Project description
43
+
44
+
api.video's Swift uploader for iOS, macOS and tvOS uploads videos to api.video using delegated upload token or API Key.
28
45
29
46
It allows you to upload videos in two ways:
30
47
- standard upload: to send a whole video file in one go
31
48
- progressive upload: to send a video file by chunks, without needing to know the final size of the video file
[**upload**](docs/VideosAPI.md#upload) | **POST** /videos/{videoId}/source | Upload a video
92
-
[**uploadWithUploadToken**](docs/VideosAPI.md#uploadWithUploadToken) | **POST** /upload | Upload with an delegated upload token
108
+
[**upload**](https://github.com/apivideo/api.video-swift-uploader/blob/main/docs/VideosAPI.md#upload) | **POST** /videos/{videoId}/source | Upload a video
109
+
[**uploadWithUploadToken**](https://github.com/apivideo/api.video-swift-uploader/blob/main/docs/VideosAPI.md#uploadWithUploadToken) | **POST** /upload | Upload with an delegated upload token
Most endpoints required to be authenticated using the API key mechanism described in our [documentation](https://docs.api.video/reference#authentication).
117
134
118
135
You must NOT store your API key in your application code to prevent your API key from being exposed in your source code.
119
136
Only the [Public endpoints](#public-endpoints) can be called without authentication.
120
137
In the case, you want to call an endpoint that requires authentication, you will have to use a backend server. See [Security best practices](https://docs.api.video/sdks/security) for more details.
121
138
122
-
### Public endpoints
139
+
####Public endpoints
123
140
124
141
Some endpoints don't require authentication. These one can be called without setting `ApiVideoUploader.apiKey`.
125
142
126
-
## Have you gotten use from this API client?
143
+
###Have you gotten use from this API client?
127
144
128
145
Please take a moment to leave a star on the client ⭐
129
146
130
147
This helps other users to find the clients and also helps us understand which clients are most popular. Thank you!
131
148
132
-
# Contribution
149
+
##Contribution
133
150
134
-
Since this API client is generated from an OpenAPI description, we cannot accept pull requests made directly to the repository. If you want to contribute, you can open a pull request on the repository of our [client generator](https://github.com/apivideo/api-client-generator). Otherwise, you can also simply open an issue detailing your need on this repository.
151
+
Since this API client is generated from an OpenAPI description, we cannot accept pull requests made directly to the repository. If you want to contribute, you can open a pull request on the repository of our [client generator](https://github.com/apivideo/api-client-generator). Otherwise, you can also simply open an issue detailing your need on this repository.
0 commit comments