2.5 KiB
2.5 KiB
VideoUploadRequestCommon
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | Video name | |
| channel_id | int | Channel id that will contain this video | |
| privacy | VideoPrivacySet | [optional] | |
| category | int | category id of the video (see /videos/categories) | [optional] |
| licence | int | licence id of the video (see /videos/licences) | [optional] |
| language | str | language id of the video (see /videos/languages) | [optional] |
| description | str | Video description | [optional] |
| wait_transcoding | bool | Whether or not we wait transcoding before publish the video | [optional] |
| support | str | A text tell the audience how to support the video creator | [optional] |
| nsfw | bool | Whether or not this video contains sensitive content | [optional] |
| tags | List[str] | Video tags (maximum 5 tags each between 2 and 30 characters) | [optional] |
| comments_enabled | bool | Enable or disable comments for this video | [optional] |
| download_enabled | bool | Enable or disable downloading for this video | [optional] |
| originally_published_at | datetime | Date when the content was originally published | [optional] |
| schedule_update | VideoScheduledUpdate | [optional] | |
| thumbnailfile | bytearray | Video thumbnail file | [optional] |
| previewfile | bytearray | Video preview file | [optional] |
| video_passwords | List[str] | [optional] |
Example
from peertube.models.video_upload_request_common import VideoUploadRequestCommon
# TODO update the JSON string below
json = "{}"
# create an instance of VideoUploadRequestCommon from a JSON string
video_upload_request_common_instance = VideoUploadRequestCommon.from_json(json)
# print the JSON string representation of the object
print VideoUploadRequestCommon.to_json()
# convert the object into a dict
video_upload_request_common_dict = video_upload_request_common_instance.to_dict()
# create an instance of VideoUploadRequestCommon from a dict
video_upload_request_common_form_dict = video_upload_request_common.from_dict(video_upload_request_common_dict)