Skip to content

Commit

Permalink
Merge pull request #86 from apivideo/sort-params-in-analytics
Browse files Browse the repository at this point in the history
Add sort parameters in analytics routes
  • Loading branch information
bot-api-video authored Sep 5, 2024
2 parents 8771ef3 + 4ae03f2 commit 146ccbf
Show file tree
Hide file tree
Showing 8 changed files with 82 additions and 23 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 @@
3637a70fc3b7f045b2927373115f2132767e3ea4ee8f19f7ffd324bb9f8eb7bf
b89163ac996bc8f2bcaf0a054a6a9c28de9b0cf52e16fbcb17055f42852e2a57
4 changes: 2 additions & 2 deletions ApiVideoClient.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.3.0'
s.source = { :git => 'https://github.com/apivideo/api.video-swift-client', :tag => 'v1.3.0' }
s.version = '1.3.1'
s.source = { :git => 'https://github.com/apivideo/api.video-swift-client', :tag => 'v1.3.1' }
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.3.1] - 2024-09-05
- Add sort parameters in analytics endpoints

## [1.3.0] - 2024-07-29
- Add new analytics methods
- Add livestream complete() method
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ api.video's Swift API client for iOS, macOS and tvOS streamlines the coding proc
Specify it in your `Cartfile`:

```
github "apivideo/api.video-swift-client" ~> 1.3.0
github "apivideo/api.video-swift-client" ~> 1.3.1
```

Run `carthage update`

#### CocoaPods

Add `pod 'ApiVideoClient', '1.3.0'` in your `Podfile`
Add `pod 'ApiVideoClient', '1.3.1'` 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 ApiVideoClient {
public static var apiKey: String? = nil
public static var basePath = "https://ws.api.video"
internal static var customHeaders:[String: String] = ["AV-Origin-Client": "swift:1.3.0"]
internal static var customHeaders:[String: String] = ["AV-Origin-Client": "swift:1.3.1"]
private static var chunkSize: Int = 50 * 1024 * 1024
internal static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
internal static var credential = ApiVideoCredential()
Expand Down
68 changes: 58 additions & 10 deletions Sources/APIs/AnalyticsAPI.swift

Large diffs are not rendered by default.

20 changes: 14 additions & 6 deletions docs/AnalyticsAPI.md

Large diffs are not rendered by default.

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.3.0
version: 1.3.1
settings:
APPLICATION_EXTENSION_API_ONLY: true
scheme: {}
Expand Down

0 comments on commit 146ccbf

Please sign in to comment.