Commit 0d970f44 authored by Rigel Kent's avatar Rigel Kent
Browse files

Minor update kotlin

parent 1232b1d2
......@@ -82,10 +82,10 @@ Class | Method | HTTP request | Description
*ServerBlocksApi* | [**blocklistServersGet**](docs/ServerBlocksApi.md#blocklistserversget) | **GET** /blocklist/servers | List server blocks
*ServerBlocksApi* | [**blocklistServersHostDelete**](docs/ServerBlocksApi.md#blocklistservershostdelete) | **DELETE** /blocklist/servers/{host} | Unblock a server by its domain
*ServerBlocksApi* | [**blocklistServersPost**](docs/ServerBlocksApi.md#blocklistserverspost) | **POST** /blocklist/servers | Block a server
*UsersApi* | [**delUserId**](docs/UsersApi.md#deluserid) | **DELETE** /users/{id} | Delete a user
*UsersApi* | [**getUserId**](docs/UsersApi.md#getuserid) | **GET** /users/{id} | Get a user
*UsersApi* | [**putUserId**](docs/UsersApi.md#putuserid) | **PUT** /users/{id} | Update a user
*UsersApi* | [**usersGet**](docs/UsersApi.md#usersget) | **GET** /users | List users
*UsersApi* | [**usersIdDelete**](docs/UsersApi.md#usersiddelete) | **DELETE** /users/{id} | Delete a user
*UsersApi* | [**usersIdGet**](docs/UsersApi.md#usersidget) | **GET** /users/{id} | Get a user
*UsersApi* | [**usersIdPut**](docs/UsersApi.md#usersidput) | **PUT** /users/{id} | Update a user
*UsersApi* | [**usersPost**](docs/UsersApi.md#userspost) | **POST** /users | Create a user
*UsersApi* | [**usersRegisterPost**](docs/UsersApi.md#usersregisterpost) | **POST** /users/register | Register a user
*VideoApi* | [**accountsNameVideosGet**](docs/VideoApi.md#accountsnamevideosget) | **GET** /accounts/{name}/videos | List videos of an account
......@@ -165,6 +165,8 @@ Class | Method | HTTP request | Description
- [org.peertube.client.models.ActorInfoAvatar](docs/ActorInfoAvatar.md)
- [org.peertube.client.models.AddUser](docs/AddUser.md)
- [org.peertube.client.models.AddUserResponse](docs/AddUserResponse.md)
- [org.peertube.client.models.AddUserResponseUser](docs/AddUserResponseUser.md)
- [org.peertube.client.models.AddUserResponseUserAccount](docs/AddUserResponseUserAccount.md)
- [org.peertube.client.models.Avatar](docs/Avatar.md)
- [org.peertube.client.models.CommentThreadPostResponse](docs/CommentThreadPostResponse.md)
- [org.peertube.client.models.CommentThreadResponse](docs/CommentThreadResponse.md)
......@@ -188,6 +190,7 @@ Class | Method | HTTP request | Description
- [org.peertube.client.models.InlineObject21](docs/InlineObject21.md)
- [org.peertube.client.models.InlineObject22](docs/InlineObject22.md)
- [org.peertube.client.models.InlineObject23](docs/InlineObject23.md)
- [org.peertube.client.models.InlineObject24](docs/InlineObject24.md)
- [org.peertube.client.models.InlineObject3](docs/InlineObject3.md)
- [org.peertube.client.models.InlineObject4](docs/InlineObject4.md)
- [org.peertube.client.models.InlineObject5](docs/InlineObject5.md)
......
......@@ -107,7 +107,7 @@ Configure OAuth2:
<a name="blocklistAccountsPost"></a>
# **blocklistAccountsPost**
> blocklistAccountsPost(inlineObject18)
> blocklistAccountsPost(inlineObject19)
Block an account
......@@ -118,9 +118,9 @@ Block an account
//import org.peertube.client.models.*
val apiInstance = AccountBlocksApi()
val inlineObject18 : InlineObject18 = // InlineObject18 |
val inlineObject19 : InlineObject19 = // InlineObject19 |
try {
apiInstance.blocklistAccountsPost(inlineObject18)
apiInstance.blocklistAccountsPost(inlineObject19)
} catch (e: ClientException) {
println("4xx response calling AccountBlocksApi#blocklistAccountsPost")
e.printStackTrace()
......@@ -134,7 +134,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**inlineObject18** | [**InlineObject18**](InlineObject18.md)| | [optional]
**inlineObject19** | [**InlineObject19**](InlineObject19.md)| | [optional]
### Return type
......
......@@ -4,8 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **kotlin.Int** | | [optional]
**uuid** | [**java.util.UUID**](java.util.UUID.md) | | [optional]
**user** | [**AddUserResponseUser**](AddUserResponseUser.md) | | [optional]
# AddUserResponseUser
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **kotlin.Int** | | [optional]
**account** | [**AddUserResponseUserAccount**](AddUserResponseUserAccount.md) | | [optional]
# AddUserResponseUserAccount
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **kotlin.Int** | | [optional]
......@@ -10,7 +10,7 @@ Method | HTTP request | Description
<a name="feedsVideoCommentsFormatGet"></a>
# **feedsVideoCommentsFormatGet**
> kotlin.Array&lt;kotlin.Any&gt; feedsVideoCommentsFormatGet(format, videoId)
> kotlin.Array&lt;kotlin.Any&gt; feedsVideoCommentsFormatGet(format, videoId, accountId, accountName, videoChannelId, videoChannelName)
List comments on videos
......@@ -21,10 +21,14 @@ List comments on videos
//import org.peertube.client.models.*
val apiInstance = FeedsApi()
val format : kotlin.String = format_example // kotlin.String | format expected (we focus on making `rss` the most featureful ; it serves Media RSS)
val format : kotlin.String = format_example // kotlin.String | format expected (we focus on making `rss` the most featureful ; it serves [Media RSS](https://www.rssboard.org/media-rss))
val videoId : kotlin.String = videoId_example // kotlin.String | limit listing to a specific video
val accountId : kotlin.String = accountId_example // kotlin.String | limit listing to a specific account
val accountName : kotlin.String = accountName_example // kotlin.String | limit listing to a specific account
val videoChannelId : kotlin.String = videoChannelId_example // kotlin.String | limit listing to a specific video channel
val videoChannelName : kotlin.String = videoChannelName_example // kotlin.String | limit listing to a specific video channel
try {
val result : kotlin.Array<kotlin.Any> = apiInstance.feedsVideoCommentsFormatGet(format, videoId)
val result : kotlin.Array<kotlin.Any> = apiInstance.feedsVideoCommentsFormatGet(format, videoId, accountId, accountName, videoChannelId, videoChannelName)
println(result)
} catch (e: ClientException) {
println("4xx response calling FeedsApi#feedsVideoCommentsFormatGet")
......@@ -39,8 +43,12 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | **kotlin.String**| format expected (we focus on making &#x60;rss&#x60; the most featureful ; it serves Media RSS) | [enum: xml, rss, rss2, atom, atom1, json, json1]
**format** | **kotlin.String**| format expected (we focus on making &#x60;rss&#x60; the most featureful ; it serves [Media RSS](https://www.rssboard.org/media-rss)) | [enum: xml, rss, rss2, atom, atom1, json, json1]
**videoId** | **kotlin.String**| limit listing to a specific video | [optional]
**accountId** | **kotlin.String**| limit listing to a specific account | [optional]
**accountName** | **kotlin.String**| limit listing to a specific account | [optional]
**videoChannelId** | **kotlin.String**| limit listing to a specific video channel | [optional]
**videoChannelName** | **kotlin.String**| limit listing to a specific video channel | [optional]
### Return type
......@@ -68,7 +76,7 @@ List videos
//import org.peertube.client.models.*
val apiInstance = FeedsApi()
val format : kotlin.String = format_example // kotlin.String | format expected (we focus on making `rss` the most featureful ; it serves Media RSS)
val format : kotlin.String = format_example // kotlin.String | format expected (we focus on making `rss` the most featureful ; it serves [Media RSS](https://www.rssboard.org/media-rss))
val accountId : kotlin.String = accountId_example // kotlin.String | limit listing to a specific account
val accountName : kotlin.String = accountName_example // kotlin.String | limit listing to a specific account
val videoChannelId : kotlin.String = videoChannelId_example // kotlin.String | limit listing to a specific video channel
......@@ -92,7 +100,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**format** | **kotlin.String**| format expected (we focus on making &#x60;rss&#x60; the most featureful ; it serves Media RSS) | [enum: xml, rss, rss2, atom, atom1, json, json1]
**format** | **kotlin.String**| format expected (we focus on making &#x60;rss&#x60; the most featureful ; it serves [Media RSS](https://www.rssboard.org/media-rss)) | [enum: xml, rss, rss2, atom, atom1, json, json1]
**accountId** | **kotlin.String**| limit listing to a specific account | [optional]
**accountName** | **kotlin.String**| limit listing to a specific account | [optional]
**videoChannelId** | **kotlin.String**| limit listing to a specific video channel | [optional]
......
......@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ids** | **kotlin.Array&lt;kotlin.Int&gt;** | ids of the notifications to mark as read |
**uri** | [**java.net.URI**](java.net.URI.md) | uri of the video channels to subscribe to |
......@@ -4,7 +4,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**captionfile** | [**java.io.File**](java.io.File.md) | The file to upload. | [optional]
**state** | [**VideoAbuseStateSet**](VideoAbuseStateSet.md) | | [optional]
**moderationComment** | **kotlin.String** | Update the report comment visible only to the moderation team | [optional]
......@@ -4,11 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**displayName** | **kotlin.String** | Video playlist display name |
**thumbnailfile** | [**java.io.File**](java.io.File.md) | Video playlist thumbnail file | [optional]
**privacy** | [**VideoPlaylistPrivacySet**](VideoPlaylistPrivacySet.md) | | [optional]
**description** | **kotlin.String** | Video playlist description | [optional]
**videoChannelId** | **kotlin.Int** | Video channel in which the playlist will be published | [optional]
**captionfile** | [**java.io.File**](java.io.File.md) | The file to upload. | [optional]
......@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**displayName** | **kotlin.String** | Video playlist display name | [optional]
**displayName** | **kotlin.String** | Video playlist display name |
**thumbnailfile** | [**java.io.File**](java.io.File.md) | Video playlist thumbnail file | [optional]
**privacy** | [**VideoPlaylistPrivacySet**](VideoPlaylistPrivacySet.md) | | [optional]
**description** | **kotlin.String** | Video playlist description | [optional]
......
......@@ -4,9 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**videoId** | **kotlin.Int** | Video to add in the playlist |
**startTimestamp** | **kotlin.Int** | Start the video at this specific timestamp (in seconds) | [optional]
**stopTimestamp** | **kotlin.Int** | Stop the video at this specific timestamp (in seconds) | [optional]
**displayName** | **kotlin.String** | Video playlist display name | [optional]
**thumbnailfile** | [**java.io.File**](java.io.File.md) | Video playlist thumbnail file | [optional]
**privacy** | [**VideoPlaylistPrivacySet**](VideoPlaylistPrivacySet.md) | | [optional]
**description** | **kotlin.String** | Video playlist description | [optional]
**videoChannelId** | **kotlin.Int** | Video channel in which the playlist will be published | [optional]
......@@ -4,9 +4,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**startPosition** | **kotlin.Int** | Start position of the element to reorder |
**insertAfterPosition** | **kotlin.Int** | New position for the block to reorder, to add the block before the first element |
**reorderLength** | **kotlin.Int** | How many element from &#x60;startPosition&#x60; to reorder | [optional]
**videoId** | **kotlin.Int** | Video to add in the playlist |
**startTimestamp** | **kotlin.Int** | Start the video at this specific timestamp (in seconds) | [optional]
**stopTimestamp** | **kotlin.Int** | Stop the video at this specific timestamp (in seconds) | [optional]
......@@ -4,8 +4,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**startTimestamp** | **kotlin.Int** | Start the video at this specific timestamp (in seconds) | [optional]
**stopTimestamp** | **kotlin.Int** | Stop the video at this specific timestamp (in seconds) | [optional]
**startPosition** | **kotlin.Int** | Start position of the element to reorder |
**insertAfterPosition** | **kotlin.Int** | New position for the block to reorder, to add the block before the first element |
**reorderLength** | **kotlin.Int** | How many element from &#x60;startPosition&#x60; to reorder | [optional]
......@@ -4,7 +4,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**text** | **kotlin.String** | Text comment |
**startTimestamp** | **kotlin.Int** | Start the video at this specific timestamp (in seconds) | [optional]
**stopTimestamp** | **kotlin.Int** | Stop the video at this specific timestamp (in seconds) | [optional]
......@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accountName** | **kotlin.String** | account to block, in the form &#x60;username@domain&#x60; |
**text** | **kotlin.String** | Text comment |
......@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**host** | **kotlin.String** | server domain to block |
**accountName** | **kotlin.String** | account to block, in the form &#x60;username@domain&#x60; |
......@@ -4,18 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**newVideoFromSubscription** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**newCommentOnMyVideo** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**videoAbuseAsModerator** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**videoAutoBlacklistAsModerator** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**blacklistOnMyVideo** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**myVideoPublished** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**myVideoImportFinished** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**newFollow** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**newUserRegistration** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**commentMention** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**newInstanceFollower** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**autoInstanceFollowing** | [**NotificationSettingValue**](NotificationSettingValue.md) | | [optional]
**ids** | **kotlin.Array&lt;kotlin.Int&gt;** | ids of the notifications to mark as read |
......@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**redundancyAllowed** | **kotlin.Boolean** | allow mirroring of the host&#39;s local videos |
**host** | **kotlin.String** | server domain to block |
......@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**videoId** | **kotlin.Int** | |
**redundancyAllowed** | **kotlin.Boolean** | allow mirroring of the host&#39;s local videos |
......@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**npmName** | **kotlin.String** | name of the plugin/theme in its package.json |
**videoId** | **kotlin.Int** | |
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