Swimlanes.io is a free webapp for making sequence diagrams. You simply edit the text on the left and the diagram is updated in real time. You can download your sequence diagrams as images or distribute with a link.
Title: Mark Video Published Client -> 3Speak: Update Video Details note: - [Please refer to previous diagram first](https://swimlanes.io/u/aqmqixwiR) - videoid = id of the video - Example request body as json ``` { 'videoId': videoid, } ``` - API Endpoint - https://studio.3speak.tv/mobile/api/my-videos/iPublished - HTTP Headers - Cookie & Content-Type: application/json - HTTP Method - POST 3Speak -> Client: 3Speak's Video Object Response note: - Execute this API only after post is been published on hive-chain - Make sure to add necessary beneficiaries - If beneficiaries are not added, video won't be played. - "spk.beneficiary - 1000 weight (10.0%)" is must - Adding video encoder Beneficiary is also must **Example one** ``` "beneficiaries": "[{\"account\":\"vaultec\",\"weight\":100,\"src\":\"ENCODER_PAY\"}]", ``` - In this example, you can see that video was encoded by vaultec's system. - So, for this example, there should be 2 beneficiaries - spk.beneficiary - 1000 weight (10.0%) - vaultec - 100 weight (1.0%) **Example Two** ``` "beneficiaries": "[]", ``` - In this example, you can see that the video encoded was encoded by one of the encoder from SpkNetwork. That's why beneficiaries are empty. - So, for this example, there should be just 1 beneficiary - spk.beneficiary - 1000 weight (10.0%)