mirror of
https://github.com/TeamPiped/piped_dart.git
synced 2024-08-14 22:27:49 +00:00
Update to latest openapi code.
This commit is contained in:
parent
fd20ae95b1
commit
26f755fc52
49 changed files with 1224 additions and 452 deletions
|
@ -8,6 +8,7 @@ import 'package:piped_api/api.dart';
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**type** | **String** | The type of the channel item. Always channel. | [optional]
|
||||
**description** | **String** | The description of the channel. | [optional]
|
||||
**name** | **String** | The name of the channel. | [optional]
|
||||
**subscribers** | **int** | The number of subscribers the channel has. | [optional]
|
||||
|
|
33
doc/ContentItem.md
Normal file
33
doc/ContentItem.md
Normal file
|
@ -0,0 +1,33 @@
|
|||
# piped_api.model.ContentItem
|
||||
|
||||
## Load the model package
|
||||
```dart
|
||||
import 'package:piped_api/api.dart';
|
||||
```
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**type** | **String** | The type of the content item. |
|
||||
**duration** | **int** | The duration of the video in seconds. |
|
||||
**thumbnail** | **String** | The thumbnail of the playlist. |
|
||||
**title** | **String** | The title of the video. |
|
||||
**uploaded** | **int** | The date in unix epoch the video was uploaded. | [optional]
|
||||
**uploadedDate** | **String** | The relative date the video was uploaded on. | [optional]
|
||||
**uploaderAvatar** | **String** | The avatar of the channel of the video. | [optional]
|
||||
**uploaderName** | **String** | The name of the channel of the video. | [optional]
|
||||
**uploaderUrl** | **String** | The relative URL of the channel of the video. | [optional]
|
||||
**uploaderVerified** | **bool** | Whether or not the channel has a verified badge. | [optional]
|
||||
**url** | **String** | The relative URL of the playlist. |
|
||||
**views** | **int** | The number of views the video has. | [optional]
|
||||
**isShort** | **bool** | Whether or not the video is a short video. | [optional]
|
||||
**shortDescription** | **String** | The short description of the video. | [optional]
|
||||
**description** | **String** | The description of the channel. | [optional]
|
||||
**name** | **String** | The name of the playlist. | [optional]
|
||||
**subscribers** | **int** | The number of subscribers the channel has. | [optional]
|
||||
**verified** | **bool** | Whether the channel is verified. | [optional]
|
||||
**videos** | **int** | The number of videos in the playlist. | [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)
|
||||
|
||||
|
|
@ -8,6 +8,7 @@ import 'package:piped_api/api.dart';
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**type** | **String** | The type of the playlist item. Always playlist. | [optional]
|
||||
**name** | **String** | The name of the playlist. | [optional]
|
||||
**thumbnail** | **String** | The thumbnail of the playlist. | [optional]
|
||||
**url** | **String** | The relative URL of the playlist. | [optional]
|
||||
|
|
|
@ -8,6 +8,7 @@ import 'package:piped_api/api.dart';
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**type** | **String** | The type of the playlist item. Always playlist. | [optional]
|
||||
**duration** | **int** | The duration of the video in seconds. |
|
||||
**thumbnail** | **String** | The thumbnail of the playlist. |
|
||||
**title** | **String** | The title of the video. |
|
||||
|
@ -19,6 +20,8 @@ Name | Type | Description | Notes
|
|||
**uploaderVerified** | **bool** | Whether or not the channel has a verified badge. | [optional]
|
||||
**url** | **String** | The relative URL of the playlist. |
|
||||
**views** | **int** | The number of views the video has. | [optional]
|
||||
**isShort** | **bool** | Whether or not the video is a short video. | [optional]
|
||||
**shortDescription** | **String** | The short description of the video. | [optional]
|
||||
**description** | **String** | The description of the channel. | [optional]
|
||||
**name** | **String** | The name of the playlist. | [optional]
|
||||
**subscribers** | **int** | The number of subscribers the channel has. | [optional]
|
||||
|
|
|
@ -8,6 +8,7 @@ import 'package:piped_api/api.dart';
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**type** | **String** | The type of the stream item. Always stream. | [optional]
|
||||
**duration** | **int** | The duration of the video in seconds. |
|
||||
**thumbnail** | **String** | The thumbnail of the video. |
|
||||
**title** | **String** | The title of the video. |
|
||||
|
@ -19,6 +20,8 @@ Name | Type | Description | Notes
|
|||
**uploaderVerified** | **bool** | Whether or not the channel has a verified badge. | [optional]
|
||||
**url** | **String** | The relative URL to the video. |
|
||||
**views** | **int** | The number of views the video has. | [optional]
|
||||
**isShort** | **bool** | Whether or not the video is a short video. | [optional]
|
||||
**shortDescription** | **String** | The short description of the video. | [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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue