Commit 20c08eb2 authored by Rigel Kent's avatar Rigel Kent
Browse files

Minor update kotlin

parent 5e9d302a
......@@ -25,7 +25,7 @@ List accounts
val apiInstance = AccountsApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
val result : kotlin.Array<Account> = apiInstance.accountsGet(start, count, sort)
......@@ -44,7 +44,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......@@ -120,7 +120,7 @@ List ratings of an account
val apiInstance = AccountsApi()
val name : kotlin.String = name_example // kotlin.String | The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for example)
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
val rating : kotlin.String = rating_example // kotlin.String | Optionally filter which ratings to retrieve
try {
......@@ -141,7 +141,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **kotlin.String**| The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for example) |
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
**rating** | **kotlin.String**| Optionally filter which ratings to retrieve | [optional] [enum: like, dislike]
......@@ -228,7 +228,7 @@ val nsfw : kotlin.String = nsfw_example // kotlin.String | whether to include ns
val filter : kotlin.String = filter_example // kotlin.String | Special filters (local for instance) which might require special rights: * `local` - only videos local to the instance * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
val skipCount : kotlin.String = skipCount_example // kotlin.String | if you don't need the `total` in the response
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort videos by criteria
try {
val result : VideoListResponse = apiInstance.accountsNameVideosGet(name, categoryOneOf, tagsOneOf, tagsAllOf, licenceOneOf, languageOneOf, nsfw, filter, skipCount, start, count, sort)
......@@ -256,7 +256,7 @@ Name | Type | Description | Notes
**filter** | **kotlin.String**| Special filters (local for instance) which might require special rights: * &#x60;local&#x60; - only videos local to the instance * &#x60;all-local&#x60; - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges) | [optional] [enum: local, all-local]
**skipCount** | **kotlin.String**| if you don&#39;t need the &#x60;total&#x60; in the response | [optional] [enum: true, false]
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort videos by criteria | [optional] [enum: -name, -duration, -createdAt, -publishedAt, -views, -likes, -trending]
### Return type
......
......@@ -24,7 +24,7 @@ List instance followers
val apiInstance = InstanceFollowsApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
val result : kotlin.Array<Follow> = apiInstance.serverFollowersGet(start, count, sort)
......@@ -43,7 +43,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......@@ -73,7 +73,7 @@ List instance followings
val apiInstance = InstanceFollowsApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
val result : kotlin.Array<Follow> = apiInstance.serverFollowingGet(start, count, sort)
......@@ -92,7 +92,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......
......@@ -22,7 +22,7 @@ List instance jobs
val apiInstance = JobApi()
val state : kotlin.String = state_example // kotlin.String | The state of the job
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
val result : kotlin.Array<Job> = apiInstance.jobsStateGet(state, start, count, sort)
......@@ -42,7 +42,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**state** | **kotlin.String**| The state of the job | [enum: active, completed, failed, waiting, delayed]
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......
......@@ -73,7 +73,7 @@ Get my user subscriptions
val apiInstance = MySubscriptionsApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
apiInstance.usersMeSubscriptionsGet(start, count, sort)
......@@ -91,7 +91,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......@@ -266,7 +266,7 @@ val nsfw : kotlin.String = nsfw_example // kotlin.String | whether to include ns
val filter : kotlin.String = filter_example // kotlin.String | Special filters (local for instance) which might require special rights: * `local` - only videos local to the instance * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
val skipCount : kotlin.String = skipCount_example // kotlin.String | if you don't need the `total` in the response
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort videos by criteria
try {
val result : VideoListResponse = apiInstance.usersMeSubscriptionsVideosGet(categoryOneOf, tagsOneOf, tagsAllOf, licenceOneOf, languageOneOf, nsfw, filter, skipCount, start, count, sort)
......@@ -293,7 +293,7 @@ Name | Type | Description | Notes
**filter** | **kotlin.String**| Special filters (local for instance) which might require special rights: * &#x60;local&#x60; - only videos local to the instance * &#x60;all-local&#x60; - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges) | [optional] [enum: local, all-local]
**skipCount** | **kotlin.String**| if you don&#39;t need the &#x60;total&#x60; in the response | [optional] [enum: true, false]
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort videos by criteria | [optional] [enum: -name, -duration, -createdAt, -publishedAt, -views, -likes, -trending]
### Return type
......
......@@ -206,7 +206,7 @@ Get videos of my user
val apiInstance = MyUserApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
val result : VideoListResponse = apiInstance.usersMeVideosGet(start, count, sort)
......@@ -225,7 +225,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......@@ -257,7 +257,7 @@ Get video imports of my user
val apiInstance = MyUserApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
val result : VideoImport = apiInstance.usersMeVideosImportsGet(start, count, sort)
......@@ -276,7 +276,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......
......@@ -30,7 +30,7 @@ val nsfw : kotlin.String = nsfw_example // kotlin.String | whether to include ns
val filter : kotlin.String = filter_example // kotlin.String | Special filters (local for instance) which might require special rights: * `local` - only videos local to the instance * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
val skipCount : kotlin.String = skipCount_example // kotlin.String | if you don't need the `total` in the response
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort videos by criteria
try {
val result : VideoListResponse = apiInstance.searchVideosGet(search, categoryOneOf, tagsOneOf, tagsAllOf, licenceOneOf, languageOneOf, nsfw, filter, skipCount, start, count, sort)
......@@ -58,7 +58,7 @@ Name | Type | Description | Notes
**filter** | **kotlin.String**| Special filters (local for instance) which might require special rights: * &#x60;local&#x60; - only videos local to the instance * &#x60;all-local&#x60; - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges) | [optional] [enum: local, all-local]
**skipCount** | **kotlin.String**| if you don&#39;t need the &#x60;total&#x60; in the response | [optional] [enum: true, false]
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort videos by criteria | [optional] [enum: -name, -duration, -createdAt, -publishedAt, -views, -likes, -match]
### Return type
......
......@@ -26,7 +26,7 @@ List users
val apiInstance = UsersApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort users by criteria
try {
val result : kotlin.Array<User> = apiInstance.usersGet(start, count, sort)
......@@ -45,7 +45,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort users by criteria | [optional] [enum: -id, -username, -createdAt]
### Return type
......
......@@ -24,7 +24,7 @@ List video abuses
val apiInstance = VideoAbusesApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort abuses by criteria
try {
val result : kotlin.Array<VideoAbuse> = apiInstance.videosAbuseGet(start, count, sort)
......@@ -43,7 +43,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort abuses by criteria | [optional] [enum: -id, -createdAt, -state]
### Return type
......
......@@ -44,7 +44,7 @@ val nsfw : kotlin.String = nsfw_example // kotlin.String | whether to include ns
val filter : kotlin.String = filter_example // kotlin.String | Special filters (local for instance) which might require special rights: * `local` - only videos local to the instance * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
val skipCount : kotlin.String = skipCount_example // kotlin.String | if you don't need the `total` in the response
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort videos by criteria
try {
val result : VideoListResponse = apiInstance.accountsNameVideosGet(name, categoryOneOf, tagsOneOf, tagsAllOf, licenceOneOf, languageOneOf, nsfw, filter, skipCount, start, count, sort)
......@@ -72,7 +72,7 @@ Name | Type | Description | Notes
**filter** | **kotlin.String**| Special filters (local for instance) which might require special rights: * &#x60;local&#x60; - only videos local to the instance * &#x60;all-local&#x60; - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges) | [optional] [enum: local, all-local]
**skipCount** | **kotlin.String**| if you don&#39;t need the &#x60;total&#x60; in the response | [optional] [enum: true, false]
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort videos by criteria | [optional] [enum: -name, -duration, -createdAt, -publishedAt, -views, -likes, -trending]
### Return type
......@@ -111,7 +111,7 @@ val nsfw : kotlin.String = nsfw_example // kotlin.String | whether to include ns
val filter : kotlin.String = filter_example // kotlin.String | Special filters (local for instance) which might require special rights: * `local` - only videos local to the instance * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
val skipCount : kotlin.String = skipCount_example // kotlin.String | if you don't need the `total` in the response
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort videos by criteria
try {
val result : VideoListResponse = apiInstance.videoChannelsChannelHandleVideosGet(channelHandle, categoryOneOf, tagsOneOf, tagsAllOf, licenceOneOf, languageOneOf, nsfw, filter, skipCount, start, count, sort)
......@@ -139,7 +139,7 @@ Name | Type | Description | Notes
**filter** | **kotlin.String**| Special filters (local for instance) which might require special rights: * &#x60;local&#x60; - only videos local to the instance * &#x60;all-local&#x60; - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges) | [optional] [enum: local, all-local]
**skipCount** | **kotlin.String**| if you don&#39;t need the &#x60;total&#x60; in the response | [optional] [enum: true, false]
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort videos by criteria | [optional] [enum: -name, -duration, -createdAt, -publishedAt, -views, -likes, -trending]
### Return type
......@@ -218,7 +218,7 @@ val nsfw : kotlin.String = nsfw_example // kotlin.String | whether to include ns
val filter : kotlin.String = filter_example // kotlin.String | Special filters (local for instance) which might require special rights: * `local` - only videos local to the instance * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
val skipCount : kotlin.String = skipCount_example // kotlin.String | if you don't need the `total` in the response
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort videos by criteria
try {
val result : VideoListResponse = apiInstance.videosGet(categoryOneOf, tagsOneOf, tagsAllOf, licenceOneOf, languageOneOf, nsfw, filter, skipCount, start, count, sort)
......@@ -245,7 +245,7 @@ Name | Type | Description | Notes
**filter** | **kotlin.String**| Special filters (local for instance) which might require special rights: * &#x60;local&#x60; - only videos local to the instance * &#x60;all-local&#x60; - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges) | [optional] [enum: local, all-local]
**skipCount** | **kotlin.String**| if you don&#39;t need the &#x60;total&#x60; in the response | [optional] [enum: true, false]
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort videos by criteria | [optional] [enum: -name, -duration, -createdAt, -publishedAt, -views, -likes, -trending]
### Return type
......
......@@ -23,7 +23,7 @@ List blacklisted videos
val apiInstance = VideoBlacklistApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort blacklists by criteria
try {
val result : kotlin.Array<VideoBlacklist> = apiInstance.videosBlacklistGet(start, count, sort)
......@@ -42,7 +42,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort blacklists by criteria | [optional] [enum: -id, -name, -duration, -views, -likes, -dislikes, -uuid, -createdAt]
### Return type
......
......@@ -220,7 +220,7 @@ val nsfw : kotlin.String = nsfw_example // kotlin.String | whether to include ns
val filter : kotlin.String = filter_example // kotlin.String | Special filters (local for instance) which might require special rights: * `local` - only videos local to the instance * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
val skipCount : kotlin.String = skipCount_example // kotlin.String | if you don't need the `total` in the response
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort videos by criteria
try {
val result : VideoListResponse = apiInstance.videoChannelsChannelHandleVideosGet(channelHandle, categoryOneOf, tagsOneOf, tagsAllOf, licenceOneOf, languageOneOf, nsfw, filter, skipCount, start, count, sort)
......@@ -248,7 +248,7 @@ Name | Type | Description | Notes
**filter** | **kotlin.String**| Special filters (local for instance) which might require special rights: * &#x60;local&#x60; - only videos local to the instance * &#x60;all-local&#x60; - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges) | [optional] [enum: local, all-local]
**skipCount** | **kotlin.String**| if you don&#39;t need the &#x60;total&#x60; in the response | [optional] [enum: true, false]
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort videos by criteria | [optional] [enum: -name, -duration, -createdAt, -publishedAt, -views, -likes, -trending]
### Return type
......@@ -278,7 +278,7 @@ List video channels
val apiInstance = VideoChannelsApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
val result : kotlin.Array<VideoChannel> = apiInstance.videoChannelsGet(start, count, sort)
......@@ -297,7 +297,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......
......@@ -26,7 +26,7 @@ List threads of a video
val apiInstance = VideoCommentsApi()
val id : kotlin.String = id_example // kotlin.String | The object id or uuid
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort comments by criteria
try {
val result : CommentThreadResponse = apiInstance.videosIdCommentThreadsGet(id, start, count, sort)
......@@ -46,7 +46,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **kotlin.String**| The object id or uuid |
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort comments by criteria | [optional] [enum: -createdAt, -totalReplies]
### Return type
......
......@@ -12,6 +12,7 @@ Name | Type | Description | Notes
**fileUrl** | **kotlin.String** | | [optional]
**fileDownloadUrl** | **kotlin.String** | | [optional]
**fps** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | | [optional]
**metadataUrl** | **kotlin.String** | | [optional]
......@@ -79,7 +79,7 @@ List video playlists
val apiInstance = VideoPlaylistsApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
val result : kotlin.Array<VideoPlaylist> = apiInstance.videoPlaylistsGet(start, count, sort)
......@@ -98,7 +98,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......
......@@ -8,6 +8,7 @@ Name | Type | Description | Notes
**type** | [**inline**](#TypeEnum) | Playlist type (HLS &#x3D; 1) | [optional]
**playlistUrl** | **kotlin.String** | | [optional]
**segmentsSha256Url** | **kotlin.String** | | [optional]
**files** | [**kotlin.Array&lt;VideoFile&gt;**](VideoFile.md) | | [optional]
**redundancies** | [**kotlin.Array&lt;VideoStreamingPlaylistsRedundancies&gt;**](VideoStreamingPlaylistsRedundancies.md) | | [optional]
......
......@@ -34,7 +34,7 @@ val nsfw : kotlin.String = nsfw_example // kotlin.String | whether to include ns
val filter : kotlin.String = filter_example // kotlin.String | Special filters (local for instance) which might require special rights: * `local` - only videos local to the instance * `all-local` - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges)
val skipCount : kotlin.String = skipCount_example // kotlin.String | if you don't need the `total` in the response
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort videos by criteria
try {
val result : VideoListResponse = apiInstance.usersMeSubscriptionsVideosGet(categoryOneOf, tagsOneOf, tagsAllOf, licenceOneOf, languageOneOf, nsfw, filter, skipCount, start, count, sort)
......@@ -61,7 +61,7 @@ Name | Type | Description | Notes
**filter** | **kotlin.String**| Special filters (local for instance) which might require special rights: * &#x60;local&#x60; - only videos local to the instance * &#x60;all-local&#x60; - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges) | [optional] [enum: local, all-local]
**skipCount** | **kotlin.String**| if you don&#39;t need the &#x60;total&#x60; in the response | [optional] [enum: true, false]
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort videos by criteria | [optional] [enum: -name, -duration, -createdAt, -publishedAt, -views, -likes, -trending]
### Return type
......@@ -93,7 +93,7 @@ Get videos of my user
val apiInstance = VideosApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
val result : VideoListResponse = apiInstance.usersMeVideosGet(start, count, sort)
......@@ -112,7 +112,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......@@ -144,7 +144,7 @@ Get video imports of my user
val apiInstance = VideosApi()
val start : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Offset
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Number of items (max: 100)
val sort : kotlin.String = sort_example // kotlin.String | Sort column (-createdAt for example)
try {
val result : VideoImport = apiInstance.usersMeVideosImportsGet(start, count, sort)
......@@ -163,7 +163,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**start** | **java.math.BigDecimal**| Offset | [optional]
**count** | **java.math.BigDecimal**| Number of items | [optional]
**count** | **java.math.BigDecimal**| Number of items (max: 100) | [optional]
**sort** | **kotlin.String**| Sort column (-createdAt for example) | [optional]
### Return type
......
......@@ -42,7 +42,7 @@ class AccountsApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePat
* List accounts
*
* @param start Offset (optional)
* @param count Number of items (optional)
* @param count Number of items (max: 100) (optional)
* @param sort Sort column (-createdAt for example) (optional)
* @return kotlin.Array<Account>
* @throws UnsupportedOperationException If the API returns an informational or redirection response
......@@ -138,7 +138,7 @@ class AccountsApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePat
*
* @param name The name of the account (chocobozzz or chocobozzz@peertube.cpy.re for example)
* @param start Offset (optional)
* @param count Number of items (optional)
* @param count Number of items (max: 100) (optional)
* @param sort Sort column (-createdAt for example) (optional)
* @param rating Optionally filter which ratings to retrieve (optional)
* @return kotlin.Array<VideoRating>
......@@ -246,7 +246,7 @@ class AccountsApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePat
* @param filter Special filters (local for instance) which might require special rights: * &#x60;local&#x60; - only videos local to the instance * &#x60;all-local&#x60; - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges) (optional)
* @param skipCount if you don&#39;t need the &#x60;total&#x60; in the response (optional)
* @param start Offset (optional)
* @param count Number of items (optional)
* @param count Number of items (max: 100) (optional)
* @param sort Sort videos by criteria (optional)
* @return VideoListResponse
* @throws UnsupportedOperationException If the API returns an informational or redirection response
......
......@@ -37,7 +37,7 @@ class InstanceFollowsApi(basePath: kotlin.String = defaultBasePath) : ApiClient(
* List instance followers
*
* @param start Offset (optional)
* @param count Number of items (optional)
* @param count Number of items (max: 100) (optional)
* @param sort Sort column (-createdAt for example) (optional)
* @return kotlin.Array<Follow>
* @throws UnsupportedOperationException If the API returns an informational or redirection response
......@@ -91,7 +91,7 @@ class InstanceFollowsApi(basePath: kotlin.String = defaultBasePath) : ApiClient(
* List instance followings
*
* @param start Offset (optional)
* @param count Number of items (optional)
* @param count Number of items (max: 100) (optional)
* @param sort Sort column (-createdAt for example) (optional)
* @return kotlin.Array<Follow>
* @throws UnsupportedOperationException If the API returns an informational or redirection response
......
......@@ -38,7 +38,7 @@ class JobApi(basePath: kotlin.String = defaultBasePath) : ApiClient(basePath) {
*
* @param state The state of the job
* @param start Offset (optional)
* @param count Number of items (optional)
* @param count Number of items (max: 100) (optional)
* @param sort Sort column (-createdAt for example) (optional)
* @return kotlin.Array<Job>
* @throws UnsupportedOperationException If the API returns an informational or redirection response
......
......@@ -84,7 +84,7 @@ class MySubscriptionsApi(basePath: kotlin.String = defaultBasePath) : ApiClient(
* Get my user subscriptions
*
* @param start Offset (optional)
* @param count Number of items (optional)
* @param count Number of items (max: 100) (optional)
* @param sort Sort column (-createdAt for example) (optional)
* @return void
* @throws UnsupportedOperationException If the API returns an informational or redirection response
......@@ -265,7 +265,7 @@ class MySubscriptionsApi(basePath: kotlin.String = defaultBasePath) : ApiClient(
* @param filter Special filters (local for instance) which might require special rights: * &#x60;local&#x60; - only videos local to the instance * &#x60;all-local&#x60; - only videos local to the instance, but showing private and unlisted videos (requires Admin privileges) (optional)
* @param skipCount if you don&#39;t need the &#x60;total&#x60; in the response (optional)
* @param start Offset (optional)
* @param count Number of items (optional)
* @param count Number of items (max: 100) (optional)
* @param sort Sort videos by criteria (optional)
* @return VideoListResponse
* @throws UnsupportedOperationException If the API returns an informational or redirection response
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment