Project’s Welcomevideos

../../_images/under-construction.png

This functionality is in active development. Please contact viasto support before using this in production.

The project-welcomevideos endpoint returns all of the company’s welcome videos that are currently assigned to the respective project.

Attributes

Name Type Description
resource_uri reference read-only
uri reference the uri of the related company-wide welcome video
position integer optional; the position in the project’s welcome video list (zero-based)

List

/companies/{{companyId}}/projects/{{projectId}}/videos/

Methods

  • GET
  • POST

Example response

Object

/companies/{{companyId}}/projects/{{projectId}}/videos/{{welcomeVideoId}}/

Methods

  • GET
  • PATCH
  • DELETE

Self-organizing list indices

The API will attempt to maintain the list indices’ integrity after changes, i.e. shift existing welcome videos’ indices around newly inserted or freshly deleted ones:

Original List State Operation New List State
1 Video A
2 Video B
3 Video C
4 Video D
POST
Video E
Position 3
1 Video A
2 Video B
3 Video E
4 Video C
5 Video D
1 Video A
2 Video B
3 Video C
4 Video D
DELETE
Video B
1 Video A
2 Video C
3 Video D
1 Video A
2 Video B
3 Video C
4 Video D
PATCH
Video D
Position 2
1 Video A
2 Video D
3 Video B
4 Video C