Skip to content

Commit

Permalink
Merge pull request #104 from apivideo/add-summary-feature-docs
Browse files Browse the repository at this point in the history
Add summary feature
  • Loading branch information
bot-api-video authored Oct 23, 2024
2 parents 984d934 + 4ce3017 commit a82762d
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/oas_apivideo.yaml-defaut-cli.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6f374764cf476ad001123c84953d1980aaf6bc352573020d111594ab74058bf6
fa7f7f8c606b69d3dd31980ebbed0f1f0e18756b7544288b3b919f35d99b61bd
4 changes: 2 additions & 2 deletions ApiVideoUploader.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = '10.0'
# Add back when CocoaPods/CocoaPods#11558 is released
#s.watchos.deployment_target = '3.0'
s.version = '1.2.4'
s.source = { :git => 'https://github.com/apivideo/api.video-swift-uploader', :tag => 'v1.2.4' }
s.version = '1.2.5'
s.source = { :git => 'https://github.com/apivideo/api.video-swift-uploader', :tag => 'v1.2.5' }
s.authors = { 'Ecosystem Team' => 'ecosystem@api.video' }
s.license = { :type => 'MIT' }
s.homepage = 'https://docs.api.video'
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All changes to this project will be documented in this file.

## [1.2.5] - 2024-10-21
- Add support for Alamofire 5.10

## [1.2.4] - 2024-10-08
- Add transcript feature

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ It allows you to upload videos in two ways:
Specify it in your `Cartfile`:

```
github "apivideo/api.video-swift-uploader" ~> 1.2.4
github "apivideo/api.video-swift-uploader" ~> 1.2.5
```

Run `carthage update`

#### CocoaPods

Add `pod 'ApiVideoUploader', '1.2.4'` in your `Podfile`
Add `pod 'ApiVideoUploader', '1.2.5'` in your `Podfile`

Run `pod install`

Expand Down
2 changes: 1 addition & 1 deletion Sources/APIs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Foundation
public class ApiVideoUploader {
public static var apiKey: String? = nil
public static var basePath = "https://ws.api.video"
internal static var customHeaders:[String: String] = ["AV-Origin-Client": "swift-uploader:1.2.4"]
internal static var customHeaders:[String: String] = ["AV-Origin-Client": "swift-uploader:1.2.5"]
private static var chunkSize: Int = 50 * 1024 * 1024
internal static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
internal static var credential = ApiVideoCredential()
Expand Down
4 changes: 4 additions & 0 deletions Sources/Models/NotFound.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ import AnyCodable

public struct NotFound: Codable, Hashable {

/** A link to the error documentation. */
public var type: String?
/** A description of the error that occurred. */
public var title: String?
/** The name of the parameter that caused the error. */
public var name: String?
/** The HTTP status code. */
public var status: Int?

public init(type: String? = nil, title: String? = nil, name: String? = nil, status: Int? = nil) {
Expand Down
8 changes: 4 additions & 4 deletions docs/NotFound.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **String** | | [optional]
**title** | **String** | | [optional]
**name** | **String** | | [optional]
**status** | **Int** | | [optional]
**type** | **String** | A link to the error documentation. | [optional]
**title** | **String** | A description of the error that occurred. | [optional]
**name** | **String** | The name of the parameter that caused the error. | [optional]
**status** | **Int** | The HTTP status code. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ targets:
sources: [Sources]
info:
path: ./Info.plist
version: 1.2.4
version: 1.2.5
settings:
APPLICATION_EXTENSION_API_ONLY: true
scheme: {}
Expand Down

0 comments on commit a82762d

Please sign in to comment.