ActivityPub-federated video streaming platform using P2P directly in your web browser
Add event doc to view endpoint
Chocobozzzbfbdfc584a4f
diff --git a/shared/models/activitypub/objects/index.ts b/shared/models/activitypub/objects/index.tsindex 47a8e847a4..9aa3c462c6 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.tsdeleted file mode 100644index 4dd21ce8e6..0000000000--- 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.yamlindex 7b8461c722..407f3eb10f 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -6127,12 +6127,21 @@ components:type: stringdescription: text or bio displayed on the account's profileUserViewingVideo:+ required:+ - currentTimeproperties:currentTime:type: integerformat: secondsdescription: timestamp within the video, in secondsexample: 5+ viewEvent:+ type: string+ enum:+ - seek+ description: >+ Event since last viewing call:+ * `seek` - If the user seeked the videoVideoStatsOverall:properties: