META

Queries for managing sequences

Hint

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

createSequence

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

Creates a new squence in the database and assigns it to a project.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "createSequence",
    "success": true,
    "message": "Sequence \"SEQ01\" created.",
    "content": { }
}

updateSequence

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

Update sequence info in the database.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "updateSequence",
    "success": true,
    "message": "Sequence \"SEQ01\" updated.",
    "content": { }
}

removeSequence

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

Removes a sequence from the database.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "removeSequence",
    "success": true,
    "message": "Sequence uuid123 removed.",
    "content": { }
}

setSequenceOrder

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

Changes the order of a sequence in the project.

Query attributes:

Reply content:

Empty

Reply body:

{
    "accepted": true,
    "query": "setSequenceOrder",
    "success": true,
    "message": "Sequence moved.",
    "content": { }
}