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' export * from './playlist-object' export * from './video-comment-object' export * from './video-torrent-object' -export * from './view-object' export * 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 @@ -export interface ViewObject { - type: 'View' - actor: string - object: string -} 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: type: string description: text or bio displayed on the account's profile UserViewingVideo: + required: + - currentTime properties: currentTime: type: integer format: seconds description: timestamp within the video, in seconds example: 5 + viewEvent: + type: string + enum: + - seek + description: > + Event since last viewing call: + * `seek` - If the user seeked the video VideoStatsOverall: properties: