META

Queries for managing shots

Hint

There is no method to retrieve shots directly; shots are returned by the project method getProjects

createShot

http://your.server/ramses/?createShot

Creates a new shot in the database and assigns it to a sequence group.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "createShot",
    "success": true,
    "message": "Shot \"001\" created.",
    "content": { }
}

updateShot

http://your.server/ramses/?updateShot

Update shot info in the database.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "updateShot",
    "success": true,
    "message": "Shot \"003\" updated.",
    "content": { }
}

setShotOrder

http://your.server/ramses/?setShotOrder

Moves a shot in the list. This method changes only the order value of the given shot.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "setShotOrder",
    "success": true,
    "message": "Shot moved.",
    "content": { }
}

moveShot

http://your.server/ramses/?moveShot

Moves a shot in the list. This method will update the order of all the other shots of the same project accordingly.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "moveShot",
    "success": true,
    "message": "Shot moved.",
    "content": { }
}

removeShot

http://your.server/ramses/?removeShot

Removes a shot from the database.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "removeShot",
    "success": true,
    "message": "Shot removed.",
    "content": { }
}

setShotStatus

http://your.server/ramses/?setShotStatus

Sets a new status for a shot

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "setShotStatus",
    "success": true,
    "message": "Shot status updated.",
    "content": { }
}

assignAsset

http://your.server/ramses/?assignAsset

Assigns an asset to the shot.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "assignAsset",
    "success": true,
    "message": "Asset assigned.",
    "content": { }
}

unassignAsset

http://your.server/ramses/?unassignAsset

Unassigns an asset from the shot.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "unassignAsset",
    "success": true,
    "message": "Asset unassigned..",
    "content": { }
}