Service - Video Feed: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "= Overview = One feed instance is a single input source, which can be broken up into multiple feedChunks. = Repository = https://bitbucket.org/izara-video-feed/izara-video-feed-feeds-video-feed = objectSchemas = <syntaxhighlight lang="JavaScript"> { objectType: "videoFeed", belongTo: { serviceTag: "user", objectType: "user" }, storageResources:{ "xxx":{ storageType: "graph", graphServerTag: "xx", } }, fieldNames: { videoFeedId: { type:...")
 
(No difference)

Latest revision as of 08:51, 27 July 2025

Overview

One feed instance is a single input source, which can be broken up into multiple feedChunks.

Repository

https://bitbucket.org/izara-video-feed/izara-video-feed-feeds-video-feed

objectSchemas

{
	objectType: "videoFeed",
    belongTo: { 
		serviceTag: "user",
		objectType: "user"
	},
	storageResources:{
		"xxx":{
			storageType: "graph",
			graphServerTag: "xx",
		}
	},
	fieldNames: {
		videoFeedId: {
			type: "string",
            randomOnCreate: true
		},
	},
	identifiers: [
		{
			fieldName: "videoFeedId"
		},
	]
},
  • in future consider translation for videoFeed name, or use attributeTree/objectProperty structure

relationshipSchemas

[
  {
    "hasFeedChunk": {
      storageResources:{
		"xxx":{
			storageType: "graph",
			graphServerTag: "xx",
		}
      },
      links: [
        {
          storageResourceTags: ["xxx"],
          from: {
            objType: {
              serviceTag: "videoFeed",
              objectType: "videoFeed"
            },
            linkType: "one",
          },
          to: {
            objType: {
              serviceTag: "feedChunk",
              objectType: "feedChunk"
            },
            linkType: "many",
          }
        }
      ]
    }
  }
]

Working documents

Video Feed