Skip to content
Sacha Bron edited this page Apr 16, 2015 · 7 revisions

Here is the documentation about the structure of our MongoDB.

Deprecated. Please refer to simple schemas.

Organisations

{
    _id: "af85cf921ca6a95ac5ee5864",
    name: "HEIG-VD",
    projects: [{
        _id: "55158a82a64a921c65cf9558",
        name: "BitCoin Minner",
        description: "Show your support!\nGive us money by minning BitCoins!",
        hidden: false
    }]
}

Shaders

{
    _id: "aa85cf2837fca58295ac5f64",
    file: /* CollectionFS ref */,
    'project-id': "55158a82a64a921c65cf9558",
    'initial-range': [0, 500, 100], // [from, to, step]
}

Results

{
    _id: "2955cfcac5faa82837fa5864",
    'project-id': "55158a82a64a921c65cf9558",
    data: [ /* What you want */ ]
}
Clone this wiki locally