aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--shared/models/activitypub/objects/index.ts1
-rw-r--r--shared/models/activitypub/objects/view-object.ts5
-rw-r--r--support/doc/api/openapi.yaml9
3 files changed, 9 insertions, 6 deletions
diff --git a/shared/models/activitypub/objects/index.ts b/shared/models/activitypub/objects/index.ts
index 47a8e847a..9aa3c462c 100644
--- a/shared/models/activitypub/objects/index.ts
+++ b/shared/models/activitypub/objects/index.ts
@@ -7,5 +7,4 @@ export * from './playlist-element-object'
7export * from './playlist-object' 7export * from './playlist-object'
8export * from './video-comment-object' 8export * from './video-comment-object'
9export * from './video-torrent-object' 9export * from './video-torrent-object'
10export * from './view-object'
11export * from './watch-action-object' 10export * from './watch-action-object'
diff --git a/shared/models/activitypub/objects/view-object.ts b/shared/models/activitypub/objects/view-object.ts
deleted file mode 100644
index 4dd21ce8e..000000000
--- a/shared/models/activitypub/objects/view-object.ts
+++ /dev/null
@@ -1,5 +0,0 @@
1export interface ViewObject {
2 type: 'View'
3 actor: string
4 object: string
5}
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 7b8461c72..407f3eb10 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -6127,12 +6127,21 @@ components:
6127 type: string 6127 type: string
6128 description: text or bio displayed on the account's profile 6128 description: text or bio displayed on the account's profile
6129 UserViewingVideo: 6129 UserViewingVideo:
6130 required:
6131 - currentTime
6130 properties: 6132 properties:
6131 currentTime: 6133 currentTime:
6132 type: integer 6134 type: integer
6133 format: seconds 6135 format: seconds
6134 description: timestamp within the video, in seconds 6136 description: timestamp within the video, in seconds
6135 example: 5 6137 example: 5
6138 viewEvent:
6139 type: string
6140 enum:
6141 - seek
6142 description: >
6143 Event since last viewing call:
6144 * `seek` - If the user seeked the video
6136 6145
6137 VideoStatsOverall: 6146 VideoStatsOverall:
6138 properties: 6147 properties: