ideaconsult / Toxtree.js

http://ideaconsult.github.io/Toxtree.js/
2 stars 3 forks source link

bundle JSON new fields #106

Closed vedina closed 9 years ago

vedina commented 9 years ago

The bundle JSON is updated with the following new fields

Example:

{"dataset": [
{
    "URI":"https://host/ambit/bundle/2",
    "type":"Bundle",
    "title":"Test assessment",
    "stars":5,
    "source":"Default",
    "rightsHolder":"Example",
    "maintainer":"Example",
    "seeAlso":"http://ambit.sourceforge.net",
    "rights":{
        "URI":"http://ambit.sf.net/resolver/rights/",
        "type":"rights"
    },
    "id":2,
    "number":"00000000-0000-0000-0000-000000000002",
    "version":1,
    "owner":"guest",
    "description":"The description",
    "created":1420627073000,
    "updated":1420627073000,
    "status":"draft",
    "summary":"https://host/ambit2/bundle/2/summary",
    "compound":"https://host/ambit2/bundle/2/compound",
    "substance":"https://host/ambit2/bundle/2/substance",
    "property":"https://host/ambit2/bundle/2/property",
    "dataset":"https://host/ambit2/bundle/2/dataset",
    "matrix":"https://host/ambit2/bundle/2/matrix",
    "bundleversions":"https://host/ambit2/bundle/2/version"
},

Please update as follows:

image

gonzomir commented 9 years ago

The Assessment Identifier tab is update with new data. It looks thou that the updated field does not update when something in the bundle changes.

vedina commented 9 years ago

The PUT /bundle/{id} now accepts status field.

vedina commented 9 years ago

The updated field should be ok now