From 3e9e6f2f14fda845e6000cfada07d1bfb176bd21 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 15 Nov 2018 14:10:15 +0100 Subject: migrate Swagger 2.0 spec to OpenAPI 3.0.0 --- support/doc/api/videos.yaml | 87 --------------------------------------------- 1 file changed, 87 deletions(-) delete mode 100644 support/doc/api/videos.yaml (limited to 'support/doc/api/videos.yaml') diff --git a/support/doc/api/videos.yaml b/support/doc/api/videos.yaml deleted file mode 100644 index 593ae56e2..000000000 --- a/support/doc/api/videos.yaml +++ /dev/null @@ -1,87 +0,0 @@ -parameters: - id: - name: id - in: path - required: true - type: string - description: 'The video id or uuid' - thumbnailfile: - name: thumbnailfile - in: formData - type: file - description: 'Video thumbnail file' - previewfile: - name: previewfile - in: formData - type: file - description: 'Video preview file' - category: - name: category - in: formData - type: number - description: 'Video category' - licence: - name: licence - in: formData - type: number - description: 'Video licence' - language: - name: language - in: formData - type: string - description: 'Video language' - description: - name: description - in: formData - type: string - description: 'Video description' - waitTranscoding: - name: waitTranscoding - in: formData - type: boolean - description: 'Whether or not we wait transcoding before publish the video' - support: - name: support - in: formData - type: string - description: 'Text describing how to support the video uploader' - nsfw: - name: nsfw - in: formData - type: boolean - description: 'Whether or not this video contains sensitive content' - name: - name: name - in: formData - type: string - description: 'Video name' - tags: - name: tags - in: formData - type: string[] - description: 'Video tags' - commentsEnabled: - name: commentsEnabled - in: formData - type: boolean - description: 'Enable or disable comments for this video' - privacy: - name: privacy - in: formData - type: string - enum: [Public, Unlisted] - description: 'Video privacy' - scheduleUpdate: - name: scheduleUpdate - in: formData - required: false - description: 'Schedule an update at a specific datetime' - properties: - updateAt: - type: dateTime - description: 'When to update the video' - required: true - privacy: - type: string - enum: [Public, Unlisted] - description: 'Video privacy target' -- cgit v1.2.3