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.
7
6
8
-
##Table of contents
7
+
# Table of contents
9
8
10
-
-[Table of contents](#table-of-contents)
11
9
-[Project description](#project-description)
12
10
-[Getting started](#getting-started)
13
11
-[Installation](#installation)
14
12
-[Carthage](#carthage)
15
-
-[CocoaPods](#cocoapods)
13
+
-[CocoaPods](#cocoaPods)
16
14
-[Code sample](#code-sample)
17
15
-[Documentation](#documentation)
18
16
-[API Endpoints](#api-endpoints)
19
-
-[VideosAPI](#videosapi)
20
-
-[Retrieve an instance of VideosAPI:](#retrieve-an-instance-of-videosapi)
21
-
-[Endpoints](#endpoints)
17
+
-[VideosAPI](#VideosAPI)
22
18
-[Models](#models)
23
-
-[Documentation for Authorization](#documentation-for-authorization)
-[Have you gotten use from this API client?](#have-you-gotten-use-from-this-api-client)
22
+
-[Have you gotten use from this API client?](#have-you-gotten-use-from-this-api-client)
27
23
-[Contribution](#contribution)
28
24
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
-
---
25
+
# Project description
36
26
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.
27
+
api.video's Swift for iOS, macOS and tvOS uploads videos to api.video using delegated upload token or API Key.
45
28
46
29
It allows you to upload videos in two ways:
47
30
- standard upload: to send a whole video file in one go
48
31
- progressive upload: to send a video file by chunks, without needing to know the final size of the video file
[**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
91
+
[**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
Most endpoints required to be authenticated using the API key mechanism described in our [documentation](https://docs.api.video/reference#authentication).
134
117
135
118
You must NOT store your API key in your application code to prevent your API key from being exposed in your source code.
136
119
Only the [Public endpoints](#public-endpoints) can be called without authentication.
137
120
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.
138
121
139
-
####Public endpoints
122
+
### Public endpoints
140
123
141
124
Some endpoints don't require authentication. These one can be called without setting `ApiVideoUploader.apiKey`.
142
125
143
-
###Have you gotten use from this API client?
126
+
## Have you gotten use from this API client?
144
127
145
128
Please take a moment to leave a star on the client ⭐
146
129
147
130
This helps other users to find the clients and also helps us understand which clients are most popular. Thank you!
148
131
149
-
##Contribution
132
+
# Contribution
150
133
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.
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.
0 commit comments