Shot queries

getShot

Returns a shot.

Query attributes

Reply content

The Daemon replies with more information about the shot.

Example

Query:
getShot&shortName=001*

Reply:

{
    "accepted": true,
    "query": "getShot",
    "success": true,
    "message": "Shot list retrived.",
    "content": {
            "shortName": "001",
            "name": "Shot 01",
            "folder": "/path/to/001",
            "duration": 1.25
        }
}

getShots

Returns the list of assets for the current project.

Query attributes

Reply content

The Daemon replies with the list of Shots.

Example

Query:
getShots&filter=Seq01-*

Reply:

{
    "accepted": true,
    "query": "getShots",
    "success": true,
    "message": "Shot list retrived.",
    "content": {
        "shots": [
            {
                "shortName": "Seq01-S1",
                "name": "Shot 01",
                "folder": "/path/to/S1",
                "duration": 1.25
            },
            {
                "shortName": "Seq01-S2",
                "name": "Shot 02",
                "folder": "/path/to/S2",
                "duration": 2.4
            }
        ]
    }
}

getSequences

Returns the list of sequences for the current project.

Query attributes

Reply content

The Daemon replies with the list of sequences.

Example

Query:
getSequences

Reply:

{
    "accepted": true,
    "query": "getSequences",
    "success": true,
    "message": "Sequence list retrived.",
    "content": {
        "assets": [
            {
                "shortName": "SEQ01",
                "name": "Sequence 01",
            },
            {
                "shortName": "SEQ02",
                "name": "Sequence 02",
            },
            {
                "shortName": "SEQ03",
                "name": "Sequence 03",
            }
        ]
    }
}