- function getCompleteVideoUploadAttributes () {
- return {
- name: 'my super name',
- category: 5,
- licence: 1,
- language: 6,
- nsfw: false,
- description: 'my super description',
- tags: [ 'tag1', 'tag2' ],
- privacy: VideoPrivacy.PUBLIC,
- channelId
- }
- }
-
- function getCompleteVideoUpdateAttributes () {
- return {
- name: 'my super name',
- category: 5,
- licence: 2,
- language: 6,
- nsfw: false,
- description: 'my super description',
- privacy: VideoPrivacy.PUBLIC,
- tags: [ 'tag1', 'tag2' ]
- }
- }
-
- function getVideoUploadAttaches () {
- return {
- 'videofile': join(__dirname, '..', 'fixtures', 'video_short.webm')
- }
- }
-