Download OpenAPI specification:Download
Login a user
| plugin | string (Plugin) |
| login | string (Login) |
| password | string (Password) |
| token | string (Token) |
{- "plugin": "string",
- "login": "string",
- "password": "string",
- "token": "string"
}{- "login": "string",
- "token": "string",
- "permissions": [
- "string"
]
}{- "motd": "",
- "beamLineGroups": [ ]
}{- "motd": "",
- "beamLineGroups": [ ],
- "query_debug": false,
- "enable_legacy_routes": true,
- "enable_webservice_routes": true,
- "create_person_on_missing": false
}Update the database options
| motd | string (Message of the Day) Default: "" Displayed at the top of the UI |
Array of objects (Beamline Groups) Default: [] | |
| query_debug | boolean (Query Debugging) Default: false Enable query debugging |
| enable_legacy_routes | boolean (Legacy Routes) Default: true Enable legacy routes |
| enable_webservice_routes | boolean (Webservice Routes) Default: true Enable webservices called from external applications |
| create_person_on_missing | boolean (Create Missing Login) Default: false Automatically create a |
{- "motd": "",
- "beamLineGroups": [ ],
- "query_debug": false,
- "enable_legacy_routes": true,
- "enable_webservice_routes": true,
- "create_person_on_missing": false
}{- "motd": "",
- "beamLineGroups": [ ],
- "query_debug": false,
- "enable_legacy_routes": true,
- "enable_webservice_routes": true,
- "create_person_on_missing": false
}Get a list of map rois
| xrfFluorescenceMappingROIId | integer (xrfFluorescenceMapping ROI id) |
| blSampleId | integer (Blsampleid) Sample id to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "xrfFluorescenceMappingROIId": 0,
- "element": "string",
- "edge": "string",
- "scalar": "string",
- "startEnergy": 0,
- "endEnergy": 0
}
], - "skip": 0,
- "limit": 0
}Get a list of maps
| xrfFluorescenceMappingId | integer (XrfFluorescenceMapping id) |
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
| dataCollectionGroupId | integer (Datacollectiongroupid) Data collection group id to filter by |
| blSampleId | integer (Blsampleid) Sample id to filter by |
| blSubSampleId | integer (Blsubsampleid) Sub sample id to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "xrfFluorescenceMappingId": 0,
- "colourMap": "string",
- "opacity": 0,
- "points": 0,
- "dataFormat": "string",
- "_metadata": {
- "url": "string",
- "blSubSampleId": 0,
- "blSampleId": 0,
- "dataCollectionId": 0
}, - "GridInfo": {
- "gridInfoId": 0,
- "steps_x": 0,
- "steps_y": 0,
- "snaked": true,
- "orientation": "string"
}, - "XRFFluorescenceMappingROI": {
- "xrfFluorescenceMappingROIId": 0,
- "element": "string",
- "edge": "string",
- "scalar": "string",
- "startEnergy": 0,
- "endEnergy": 0
}
}
], - "skip": 0,
- "limit": 0
}Get a map histogram
| xrfFluorescenceMappingId required | integer (Xrffluorescencemappingid) |
| x | integer (Y position) |
| y | integer (Y position) |
{- "xrfFluorescenceMappingId": 0,
- "x": 0,
- "y": 0,
- "value": 0
}Get a list of sub samples
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
| blSampleId | integer (Blsampleid) Sample id to filter by |
| proteinId | integer (Proteinid) Protein id to filter by |
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| containerId | integer (Containerid) Container id to filter by |
| order_by | any Enum: "blSubSampleId" "datacollections" Field to order by |
| order | string Enum: "asc" "desc" Order direction |
{- "total": 0,
- "results": [
- {
- "type": "string",
- "comments": "string",
- "blSampleId": 0,
- "_metadata": {
- "datacollections": 0,
- "types": [
- "string"
]
}, - "blSubSampleId": 0,
- "BLSample": {
- "name": "string"
}, - "Position1": {
- "posX": 0,
- "posY": 0
}, - "Position2": {
- "posX": 0,
- "posY": 0
}
}
], - "skip": 0,
- "limit": 0
}Get a sub sample
| blSubSampleId required | integer (Blsubsampleid) |
{- "type": "string",
- "comments": "string",
- "blSampleId": 0,
- "_metadata": {
- "datacollections": 0,
- "types": [
- "string"
]
}, - "blSubSampleId": 0,
- "BLSample": {
- "name": "string"
}, - "Position1": {
- "posX": 0,
- "posY": 0
}, - "Position2": {
- "posX": 0,
- "posY": 0
}
}Get a list of sample images
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
| blSampleId | integer (Blsampleid) Sample id to filter by |
{- "total": 0,
- "results": [
- {
- "blSampleImageId": 0,
- "blSampleId": 0,
- "micronsPerPixelX": 0,
- "micronsPerPixelY": 0,
- "offsetX": 0,
- "offsetY": 0,
- "_metadata": {
- "url": "string"
}
}
], - "skip": 0,
- "limit": 0
}Get a list of samples
| status | any (SampleStatus) Enum: "Sample Action" "Data Collected" "Strategy" "Auto Integrated" An enumeration. |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
| search | string (Search) Search string to filter by |
| proteinId | integer (Proteinid) Protein id to filter by |
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| containerId | integer (Containerid) Container id to filter by |
| beamLineName | string (Beamlinename) Beamline name to filter by |
| order_by | any Enum: "blSampleId" "name" "location" "datacollections" Field to order by |
| order | string Enum: "asc" "desc" Order direction |
{- "total": 0,
- "results": [
- {
- "name": "string",
- "comments": "string",
- "location": 0,
- "containerId": 0,
- "Crystal": {
- "cell_a": 0,
- "cell_b": 0,
- "cell_c": 0,
- "cell_alpha": 0,
- "cell_beta": 0,
- "cell_gamma": 0,
- "Protein": {
- "proposalId": "string",
- "name": "string",
- "acronym": "string"
}, - "crystalId": 0,
- "proteinId": 0
}, - "blSampleId": 0,
- "Container": {
- "code": "string",
- "sampleChangerLocation": "string",
- "beamlineLocation": "string"
}, - "_metadata": {
- "subsamples": 0,
- "datacollections": 0,
- "types": [
- "string"
], - "queued": true,
- "strategies": 0,
- "autoIntegrations": 0,
- "integratedResolution": 0,
- "proposal": "string"
}
}
], - "skip": 0,
- "limit": 0
}Get a sample
| blSampleId required | integer (Blsampleid) |
{- "name": "string",
- "comments": "string",
- "location": 0,
- "containerId": 0,
- "Crystal": {
- "cell_a": 0,
- "cell_b": 0,
- "cell_c": 0,
- "cell_alpha": 0,
- "cell_beta": 0,
- "cell_gamma": 0,
- "Protein": {
- "proposalId": "string",
- "name": "string",
- "acronym": "string"
}, - "crystalId": 0,
- "proteinId": 0
}, - "blSampleId": 0,
- "Container": {
- "code": "string",
- "sampleChangerLocation": "string",
- "beamlineLocation": "string"
}, - "_metadata": {
- "subsamples": 0,
- "datacollections": 0,
- "types": [
- "string"
], - "queued": true,
- "strategies": 0,
- "autoIntegrations": 0,
- "integratedResolution": 0,
- "proposal": "string"
}
}Get a list of dewars
| shippingId | integer (Shippingid) Shipping id to filter by |
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "shippingId": 0,
- "code": "string",
- "dewarType": "string",
- "dewarId": 0,
- "Shipping": {
- "proposalId": 0,
- "shippingName": "string"
}
}
], - "skip": 0,
- "limit": 0
}Create a new dewar
| shippingId required | integer (Shippingid) |
| code required | string (Name) |
| dewarType | string (Dewartype) |
{- "shippingId": 0,
- "code": "string",
- "dewarType": "string"
}{- "shippingId": 0,
- "code": "string",
- "dewarType": "string",
- "dewarId": 0,
- "Shipping": {
- "proposalId": 0,
- "shippingName": "string"
}
}Update a Dewar
| dewarId required | integer (Dewarid) |
| code | string (Code) |
| dewarType | string (Dewartype) |
{- "code": "string",
- "dewarType": "string"
}{- "shippingId": 0,
- "code": "string",
- "dewarType": "string",
- "dewarId": 0,
- "Shipping": {
- "proposalId": 0,
- "shippingName": "string"
}
}Get stats breakdown for a session or run
| beamLineName | string (Beamlinename) Beamline name to filter by |
| session | string (Session) ^(\w|-)+\d+-\d+$ Session name to filter by |
| sessionId | integer (Sessionid) Session id to filter by |
| runId | string (Runid) Run id filter by |
{- "overview": {
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "duration": 0,
- "beamLineName": "string",
- "sessionId": "string",
- "session": "string",
- "counts": {
- "datacollections": 0,
- "failed": 0,
- "datacollectionTypes": {
- "property1": 0,
- "property2": 0
}, - "robot": 0,
- "edge": 0,
- "xrf": 0
}
}, - "history": [
- {
- "eventType": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "protein": "string",
- "sample": "string",
- "subType": "string",
- "status": "string",
- "title": "string",
- "session": "string",
- "sessionId": "string"
}
], - "plottables": {
- "time": [
- "2019-08-24T14:15:22Z"
], - "series": [
- {
- "title": "string",
- "unit": "string",
- "data": [
- null
]
}
]
}
}Get total times for a session, proposal, or run
| beamLineName | string (Beamlinename) Beamline name to filter by |
| session | string (Session) ^(\w|-)+\d+-\d+$ Session name to filter by |
| sessionId | integer (Sessionid) Session id to filter by |
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| runId | string (Runid) Run id filter by |
{- "average": {
- "duration": 0,
- "startup": 0,
- "datacollection": 0,
- "edge": 0,
- "xrf": 0,
- "robot": 0,
- "strategy": 0,
- "centring": 0,
- "fault": 0,
- "remaining": 0,
- "thinking": 0
}, - "sessions": [
- {
- "duration": 0,
- "startup": 0,
- "datacollection": 0,
- "edge": 0,
- "xrf": 0,
- "robot": 0,
- "strategy": 0,
- "centring": 0,
- "fault": 0,
- "remaining": 0,
- "thinking": 0,
- "sessionId": 0
}
]
}Get the errors for a session or run
| beamLineName | string (Beamlinename) Beamline name to filter by |
| session | string (Session) ^(\w|-)+\d+-\d+$ Session name to filter by |
| sessionId | integer (Sessionid) Session id to filter by |
| runId | string (Runid) Run id filter by |
{- "totals": [
- {
- "experimentType": "string",
- "total": 0,
- "failed": 0,
- "failedPercent": 0,
- "aborted": 0,
- "abortedPercent": 0,
- "messages": [
- {
- "count": 0,
- "message": "string"
}
]
}
]
}Get the hourly stats for a session or run
| beamLineName | string (Beamlinename) Beamline name to filter by |
| session | string (Session) ^(\w|-)+\d+-\d+$ Session name to filter by |
| sessionId | integer (Sessionid) Session id to filter by |
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| runId | string (Runid) Run id filter by |
{- "datacollections": {
- "hour": [
- 0
], - "average": [
- 0
]
}, - "loaded": {
- "hour": [
- 0
], - "average": [
- 0
]
}
}Get histogram of parameters for a session or run
| beamLineName | string (Beamlinename) Beamline name to filter by |
| session | string (Session) ^(\w|-)+\d+-\d+$ Session name to filter by |
| sessionId | integer (Sessionid) Session id to filter by |
| runId | string (Runid) Run id filter by |
{- "parameter": "string",
- "unit": "string",
- "beamLines": [
- {
- "beamLineName": "string",
- "bin": [
- 0
], - "frequency": [
- 0
]
}
]
}Get a list of runs
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "run": "string",
- "runId": 0,
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}
], - "skip": 0,
- "limit": 0
}Get image histogram data
| imageNumber required | integer (Imagenumber) |
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
{- "values": [
- 0
], - "bins": [
- 0
], - "shape": [
- null
], - "max": 0
}h5grove /attr/ endpoint handler
| path | string (Path) Default: "/" |
| attr_keys | Array of strings (Attr Keys) |
| autoProcProgramAttachmentId | integer (AutoProcProgramAttachment id) |
| robotActionId | integer (RobotAction id) |
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
nullh5grove /data/ endpoint handler
| path | string (Path) Default: "/" |
| dtype | string (Dtype) Default: "origin" |
| format | string (Format) Default: "json" |
| flatten | boolean (Flatten) Default: false |
| selection | any (Selection) |
| autoProcProgramAttachmentId | integer (AutoProcProgramAttachment id) |
| robotActionId | integer (RobotAction id) |
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
nullh5grove /meta/ endpoint handler
| path | string (Path) Default: "/" |
| resolve_links | string (Resolve Links) Default: "only_valid" |
| autoProcProgramAttachmentId | integer (AutoProcProgramAttachment id) |
| robotActionId | integer (RobotAction id) |
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
nullh5grove /stats/ endpoint handler
| path | string (Path) Default: "/" |
| selection | any (Selection) |
| autoProcProgramAttachmentId | integer (AutoProcProgramAttachment id) |
| robotActionId | integer (RobotAction id) |
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
nullGet a list of shipments
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "proposalId": 0,
- "shippingName": "string",
- "sendingLabContactId": 0,
- "returnLabContactId": 0,
- "safetyLevel": "GREEN",
- "comments": "string",
- "shippingId": 0,
- "bltimeStamp": "2019-08-24T14:15:22Z",
- "_metadata": {
- "dewars": 0
}, - "LabContact": {
- "cardName": "string",
- "Person": {
- "givenName": "string",
- "familyName": "string"
}
}, - "LabContact1": {
- "cardName": "string",
- "Person": {
- "givenName": "string",
- "familyName": "string"
}
}
}
], - "skip": 0,
- "limit": 0
}Create a new shipment
| proposalId required | integer (Proposalid) |
| shippingName required | string (Name) |
| sendingLabContactId required | integer (Sending Lab Contact) |
| returnLabContactId required | integer (Return Lab Contact) |
| safetyLevel | string (Safety Level) Default: "GREEN" Enum: "GREEN" "YELLOW" "RED" An enumeration. |
| comments | string (Comments) |
{- "proposalId": 0,
- "shippingName": "string",
- "sendingLabContactId": 0,
- "returnLabContactId": 0,
- "safetyLevel": "GREEN",
- "comments": "string"
}{- "proposalId": 0,
- "shippingName": "string",
- "sendingLabContactId": 0,
- "returnLabContactId": 0,
- "safetyLevel": "GREEN",
- "comments": "string",
- "shippingId": 0,
- "bltimeStamp": "2019-08-24T14:15:22Z",
- "_metadata": {
- "dewars": 0
}, - "LabContact": {
- "cardName": "string",
- "Person": {
- "givenName": "string",
- "familyName": "string"
}
}, - "LabContact1": {
- "cardName": "string",
- "Person": {
- "givenName": "string",
- "familyName": "string"
}
}
}Get a shipment
| shippingId required | integer (Shippingid) |
{- "proposalId": 0,
- "shippingName": "string",
- "sendingLabContactId": 0,
- "returnLabContactId": 0,
- "safetyLevel": "GREEN",
- "comments": "string",
- "shippingId": 0,
- "bltimeStamp": "2019-08-24T14:15:22Z",
- "_metadata": {
- "dewars": 0
}, - "LabContact": {
- "cardName": "string",
- "Person": {
- "givenName": "string",
- "familyName": "string"
}
}, - "LabContact1": {
- "cardName": "string",
- "Person": {
- "givenName": "string",
- "familyName": "string"
}
}
}Update a Shipment
| shippingId required | integer (Shippingid) |
| proposalId | integer (Proposalid) |
| shippingName | string (Shippingname) |
| sendingLabContactId | integer (Sendinglabcontactid) |
| returnLabContactId | integer (Returnlabcontactid) |
| safetyLevel | string (SafetyLevelEnum) Enum: "GREEN" "YELLOW" "RED" An enumeration. |
| comments | string (Comments) |
{- "proposalId": 0,
- "shippingName": "string",
- "sendingLabContactId": 0,
- "returnLabContactId": 0,
- "safetyLevel": "GREEN",
- "comments": "string"
}{- "proposalId": 0,
- "shippingName": "string",
- "sendingLabContactId": 0,
- "returnLabContactId": 0,
- "safetyLevel": "GREEN",
- "comments": "string",
- "shippingId": 0,
- "bltimeStamp": "2019-08-24T14:15:22Z",
- "_metadata": {
- "dewars": 0
}, - "LabContact": {
- "cardName": "string",
- "Person": {
- "givenName": "string",
- "familyName": "string"
}
}, - "LabContact1": {
- "cardName": "string",
- "Person": {
- "givenName": "string",
- "familyName": "string"
}
}
}Get a list of events
| status | string (EventStatus) Enum: "success" "failed" "processed" "processerror" An enumeration. |
| eventType | string (Eventtype) |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
| session | string (Session) ^(\w|-)+\d+-\d+$ Session name to filter by |
| sessionId | integer (Sessionid) Session id to filter by |
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| proposalId | integer (Proposalid) Proposal id to filter by |
| beamLineName | string (Beamlinename) Beamline name to filter by |
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
| dataCollectionGroupId | integer (Datacollectiongroupid) Data collection group id to filter by |
| blSampleId | integer (Blsampleid) Sample id to filter by |
| blSubSampleId | integer (Blsubsampleid) Sub sample id to filter by |
| proteinId | integer (Proteinid) Protein id to filter by |
{- "total": 0,
- "results": [
- {
- "id": 0,
- "type": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "duration": 0,
- "count": 0,
- "session": "string",
- "sessionId": 0,
- "proposal": "string",
- "blSample": "string",
- "blSampleId": 0,
- "attachments": 0,
- "Item": {
- "runStatus": "string",
- "imageDirectory": "string",
- "fileTemplate": "string",
- "imageContainerSubPath": "string",
- "numberOfImages": 0,
- "numberOfPasses": 0,
- "wavelength": 0,
- "exposureTime": 0,
- "flux": 0,
- "xBeam": 0,
- "yBeam": 0,
- "beamSizeAtSampleX": 0,
- "beamSizeAtSampleY": 0,
- "transmission": 0,
- "resolution": 0,
- "detectorDistance": 0,
- "axisStart": 0,
- "axisEnd": 0,
- "axisRange": 0,
- "rotationAxis": "string",
- "overlap": 0,
- "phiStart": 0,
- "kappaStart": 0,
- "omegaStart": 0,
- "chiStart": 0,
- "xBeamPix": 0,
- "yBeamPix": 0,
- "magnification": 0,
- "binning": 0,
- "particleDiameter": 0,
- "defocusStepSize": 0,
- "amountAstigmatism": 0,
- "voltage": 0,
- "objAperture": 0,
- "dataCollectionId": 0,
- "DataCollectionGroup": {
- "dataCollectionGroupId": 0,
- "experimentType": "string",
- "Workflow": {
- "workflowId": 0,
- "comments": "string",
- "status": "string",
- "workflowTitle": "string",
- "workflowType": "string"
}
}, - "GridInfo": [
- {
- "gridInfoId": 0,
- "xOffset": 0,
- "yOffset": 0,
- "dx_mm": 0,
- "dy_mm": 0,
- "steps_x": 0,
- "steps_y": 0,
- "meshAngle": 0,
- "orientation": "string",
- "pixelsPerMicronX": 0,
- "pixelsPerMicronY": 0,
- "snapshot_offsetXPixel": 0,
- "snapshot_offsetYPixel": 0,
- "snaked": true
}
], - "_metadata": {
- "snapshots": {
- "property1": true,
- "property2": true
}
}
}
}
], - "skip": 0,
- "limit": 0
}Get a list of event types
| session | string (Session) ^(\w|-)+\d+-\d+$ Session name to filter by |
| sessionId | integer (Sessionid) Session id to filter by |
| blSampleId | integer (Blsampleid) Sample id to filter by |
| proteinId | integer (Proteinid) Protein id to filter by |
{- "total": 0,
- "results": [
- {
- "eventTypeName": "string",
- "eventType": "string"
}
], - "skip": 0,
- "limit": 0
}{- "givenName": "string",
- "familyName": "string",
- "login": "string",
- "Permissions": [
- "string"
], - "personId": 0,
- "beamLineGroups": [
- "string"
], - "beamLines": [
- "string"
]
}Sign a url with a one time token
| validity required | string (Validity) The url to sign |
| token | string (Token) |
{- "validity": "string",
- "token": "string"
}{- "validity": "string",
- "token": "string"
}Get a list of sessions
| beamLineGroup | string (Beamlinegroup) Show sessions for a beamLineGroup |
| scheduled | boolean (Scheduled) Get scheduled sessions only |
| upcoming | boolean (Upcoming) Default: false Get the upcoming sessions |
| previous | boolean (Previous) Default: false Get the recently finished sessions |
| sessionType | any (Sessiontype) Filter by session type, i.e. commissioning, remote |
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| beamLineName | string (Beamlinename) Beamline name to filter by |
| month | string (Month) ^\d\d?$ Month filter by |
| year | string (Year) ^\d\d\d\d$ Year filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "sessionId": 0,
- "proposalId": 0,
- "session": "string",
- "proposal": "string",
- "BeamLineSetup": {
- "beamLineSetupId": 0,
- "synchrotronMode": "string",
- "undulatorType1": "string",
- "undulatorType2": "string",
- "undulatorType3": "string",
- "focalSpotSizeAtSample": 0,
- "focusingOptic": "string",
- "beamDivergenceHorizontal": 0,
- "beamDivergenceVertical": 0,
- "polarisation": 0,
- "monochromatorType": "string",
- "setupDate": "2019-08-24T14:15:22Z",
- "synchrotronName": "string",
- "maxExpTimePerDataCollection": 0,
- "minExposureTimePerImage": 0,
- "goniostatMaxOscillationSpeed": 0,
- "goniostatMinOscillationWidth": 0,
- "minTransmission": 0,
- "CS": 0
}, - "visit_number": 0,
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "beamLineName": "string",
- "beamLineOperator": "string",
- "scheduled": true,
- "comments": "string",
- "nbReimbDewars": 0,
- "_metadata": {
- "datacollections": 0,
- "uiGroups": [
- "string"
], - "persons": 0,
- "active": true,
- "active_soon": true,
- "sessionTypes": [
- "string"
]
}
}
], - "skip": 0,
- "limit": 0
}Get a list of sessions for a beamline group Displays one session per beamline
| beamLineGroup | string (Beamlinegroup) Beamline group to display session for |
| upcoming | boolean (Upcoming) Default: false Get the upcoming sessions |
| previous | boolean (Previous) Default: false Get the recently finished sessions |
| sessionType | any (Sessiontype) Filter by session type, i.e. commissioning, remote |
{- "total": 0,
- "results": [
- {
- "sessionId": 0,
- "proposalId": 0,
- "session": "string",
- "proposal": "string",
- "BeamLineSetup": {
- "beamLineSetupId": 0,
- "synchrotronMode": "string",
- "undulatorType1": "string",
- "undulatorType2": "string",
- "undulatorType3": "string",
- "focalSpotSizeAtSample": 0,
- "focusingOptic": "string",
- "beamDivergenceHorizontal": 0,
- "beamDivergenceVertical": 0,
- "polarisation": 0,
- "monochromatorType": "string",
- "setupDate": "2019-08-24T14:15:22Z",
- "synchrotronName": "string",
- "maxExpTimePerDataCollection": 0,
- "minExposureTimePerImage": 0,
- "goniostatMaxOscillationSpeed": 0,
- "goniostatMinOscillationWidth": 0,
- "minTransmission": 0,
- "CS": 0
}, - "visit_number": 0,
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "beamLineName": "string",
- "beamLineOperator": "string",
- "scheduled": true,
- "comments": "string",
- "nbReimbDewars": 0,
- "_metadata": {
- "datacollections": 0,
- "uiGroups": [
- "string"
], - "persons": 0,
- "active": true,
- "active_soon": true,
- "sessionTypes": [
- "string"
]
}
}
], - "skip": 0,
- "limit": 0
}Get a session
| sessionId required | integer (Sessionid) |
{- "sessionId": 0,
- "proposalId": 0,
- "session": "string",
- "proposal": "string",
- "BeamLineSetup": {
- "beamLineSetupId": 0,
- "synchrotronMode": "string",
- "undulatorType1": "string",
- "undulatorType2": "string",
- "undulatorType3": "string",
- "focalSpotSizeAtSample": 0,
- "focusingOptic": "string",
- "beamDivergenceHorizontal": 0,
- "beamDivergenceVertical": 0,
- "polarisation": 0,
- "monochromatorType": "string",
- "setupDate": "2019-08-24T14:15:22Z",
- "synchrotronName": "string",
- "maxExpTimePerDataCollection": 0,
- "minExposureTimePerImage": 0,
- "goniostatMaxOscillationSpeed": 0,
- "goniostatMinOscillationWidth": 0,
- "minTransmission": 0,
- "CS": 0
}, - "visit_number": 0,
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "beamLineName": "string",
- "beamLineOperator": "string",
- "scheduled": true,
- "comments": "string",
- "nbReimbDewars": 0,
- "_metadata": {
- "datacollections": 0,
- "uiGroups": [
- "string"
], - "persons": 0,
- "active": true,
- "active_soon": true,
- "sessionTypes": [
- "string"
]
}
}Get a list of proteins
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
| proteinId | integer (Proteinid) Protein id to filter by |
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| search | string (Search) Search string to filter by |
| order_by | any Enum: "proteinId" "acronym" "name" Field to order by |
| order | string Enum: "asc" "desc" Order direction |
{- "total": 0,
- "results": [
- {
- "name": "string",
- "acronym": "string",
- "proposalId": 0,
- "sequence": "string",
- "density": 0,
- "molecularMass": 0,
- "containmentLevel": "string",
- "hazardGroup": "string",
- "safetyLevel": "string",
- "ComponentType": {
- "componentTypeId": 0,
- "name": "string"
}, - "proteinId": 0,
- "_metadata": {
- "pdbs": 0,
- "crystals": 0,
- "samples": 0,
- "datacollections": 0
}
}
], - "skip": 0,
- "limit": 0
}Get a protein
| proteinId required | integer (Proteinid) |
{- "name": "string",
- "acronym": "string",
- "proposalId": 0,
- "sequence": "string",
- "density": 0,
- "molecularMass": 0,
- "containmentLevel": "string",
- "hazardGroup": "string",
- "safetyLevel": "string",
- "ComponentType": {
- "componentTypeId": 0,
- "name": "string"
}, - "proteinId": 0,
- "_metadata": {
- "pdbs": 0,
- "crystals": 0,
- "samples": 0,
- "datacollections": 0
}
}Get processing statuses for a group of data collections
| dataCollectionIds | string <json-string> (List of data collection ids (JSON encoded)) Default: "" |
{- "statuses": {
- "property1": {
- "screening": {
- "property1": [
- {
- "status": null,
- "indexingSuccess": null
}
], - "property2": [
- {
- "status": null,
- "indexingSuccess": null
}
]
}, - "xrc": {
- "property1": [
- {
- "status": null
}
], - "property2": [
- {
- "status": null
}
]
}, - "processing": {
- "property1": [
- {
- "status": null,
- "autoProcProgramId": 0
}
], - "property2": [
- {
- "status": null,
- "autoProcProgramId": 0
}
]
}, - "autoIntegration": {
- "property1": [
- {
- "status": null,
- "autoProcProgramId": 0
}
], - "property2": [
- {
- "status": null,
- "autoProcProgramId": 0
}
]
}, - "em": {
- "movie": 0,
- "motionCorrection": 0,
- "ctf": 0
}
}, - "property2": {
- "screening": {
- "property1": [
- {
- "status": null,
- "indexingSuccess": null
}
], - "property2": [
- {
- "status": null,
- "indexingSuccess": null
}
]
}, - "xrc": {
- "property1": [
- {
- "status": null
}
], - "property2": [
- {
- "status": null
}
]
}, - "processing": {
- "property1": [
- {
- "status": null,
- "autoProcProgramId": 0
}
], - "property2": [
- {
- "status": null,
- "autoProcProgramId": 0
}
]
}, - "autoIntegration": {
- "property1": [
- {
- "status": null,
- "autoProcProgramId": 0
}
], - "property2": [
- {
- "status": null,
- "autoProcProgramId": 0
}
]
}, - "em": {
- "movie": 0,
- "motionCorrection": 0,
- "ctf": 0
}
}
}
}Get a list of screening results from Screening
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "screeningId": 0,
- "programVersion": "string",
- "comments": "string",
- "shortComments": "string",
- "ScreeningOutput": [
- {
- "screeningOutputId": 0,
- "indexingSuccess": 0,
- "strategySuccess": 0,
- "ScreeningStrategy": [
- {
- "screeningStrategyId": 0,
- "rankingResolution": 0,
- "ScreeningStrategyWedge": [
- {
- "screeningStrategyWedgeId": 0,
- "wedgeNumber": 0,
- "resolution": 0,
- "completeness": 0,
- "multiplicity": 0,
- "doseTotal": 0,
- "numberOfImages": 0,
- "phi": 0,
- "kappa": 0,
- "chi": 0,
- "comments": "string",
- "wavelength": 0,
- "ScreeningStrategySubWedge": [
- null
]
}
]
}
], - "ScreeningOutputLattice": [
- {
- "unitCell_a": 0,
- "unitCell_b": 0,
- "unitCell_c": 0,
- "unitCell_alpha": 0,
- "unitCell_beta": 0,
- "unitCell_gamma": 0,
- "spaceGroup": "string",
- "pointGroup": "string"
}
]
}
]
}
], - "skip": 0,
- "limit": 0
}Get a list of processing results from ProcessingJob
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "autoProcProgramId": 0,
- "processingCommandLine": "string",
- "processingPrograms": "string",
- "processingStatus": null,
- "processingMessage": "string",
- "processingStartTime": "2019-08-24T14:15:22Z",
- "processingEndTime": "2019-08-24T14:15:22Z",
- "processingEnvironment": "string",
- "recordTimeStamp": "2019-08-24T14:15:22Z",
- "ProcessingJob": {
- "processingJobId": 0,
- "displayName": "string",
- "comments": "string",
- "recordTimestamp": "2019-08-24T14:15:22Z",
- "recipe": "string",
- "automatic": true,
- "ProcessingJobParameters": [
- {
- "parameterKey": "string",
- "parameterValue": "string"
}
]
}, - "_metadata": {
- "attachments": 0,
- "autoProcProgramMessages": [
- {
- "autoProcProgramMessageId": 0,
- "autoProcProgramId": 0,
- "description": "string",
- "message": "string",
- "severity": "ERROR",
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}
], - "imageSweepCount": 0
}
}
], - "skip": 0,
- "limit": 0
}Get a list of auto-integration results from AutoProcIntegration
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "autoProcProgramId": 0,
- "processingCommandLine": "string",
- "processingPrograms": "string",
- "processingStatus": null,
- "processingMessage": "string",
- "processingStartTime": "2019-08-24T14:15:22Z",
- "processingEndTime": "2019-08-24T14:15:22Z",
- "processingEnvironment": "string",
- "recordTimeStamp": "2019-08-24T14:15:22Z",
- "ProcessingJob": {
- "processingJobId": 0,
- "displayName": "string",
- "comments": "string",
- "recordTimestamp": "2019-08-24T14:15:22Z",
- "recipe": "string",
- "automatic": true,
- "ProcessingJobParameters": [
- {
- "parameterKey": "string",
- "parameterValue": "string"
}
]
}, - "_metadata": {
- "attachments": 0,
- "autoProcProgramMessages": [
- {
- "autoProcProgramMessageId": 0,
- "autoProcProgramId": 0,
- "description": "string",
- "message": "string",
- "severity": "ERROR",
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}
], - "imageSweepCount": 0
}, - "AutoProcIntegration": [
- {
- "refinedXBeam": 0,
- "refinedYBeam": 0,
- "AutoProcScalingHasInt": [
- {
- "AutoProcScaling": {
- "AutoProc": {
- "spaceGroup": "string",
- "refinedCell_a": 0,
- "refinedCell_b": 0,
- "refinedCell_c": 0,
- "refinedCell_alpha": 0,
- "refinedCell_beta": 0,
- "refinedCell_gamma": 0
}, - "AutoProcScalingStatistics": [
- {
- "comments": null,
- "scalingStatisticsType": null,
- "resolutionLimitLow": null,
- "resolutionLimitHigh": null,
- "rMerge": null,
- "rMeasAllIPlusIMinus": null,
- "rPimAllIPlusIMinus": null,
- "fractionalPartialBias": null,
- "nTotalObservations": null,
- "nTotalUniqueObservations": null,
- "meanIOverSigI": null,
- "completeness": null,
- "multiplicity": null,
- "anomalousCompleteness": null,
- "anomalousMultiplicity": null,
- "anomalous": null,
- "ccHalf": null,
- "ccAnomalous": null,
- "resIOverSigI2": null
}
]
}
}
], - "DataCollection": {
- "xBeam": 0,
- "yBeam": 0
}
}
]
}
], - "skip": 0,
- "limit": 0
}Get a list of processing messages
| autoProcProgramMessageId | integer (Autoprocprogrammessageid) |
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "autoProcProgramMessageId": 0,
- "autoProcProgramId": 0,
- "description": "string",
- "message": "string",
- "severity": "ERROR",
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}
], - "skip": 0,
- "limit": 0
}Get the processing messages status
| dataCollectionIds | string <json-string> (List of data collection ids (JSON encoded)) Default: "" |
{- "statuses": {
- "property1": {
- "errors": 0,
- "warnings": 0,
- "info": 0
}, - "property2": {
- "errors": 0,
- "warnings": 0,
- "info": 0
}
}
}Get a list of auto processing attachments
| autoProcProgramId | integer (Autoprocprogramid) |
| autoProcProgramAttachmentId | integer (Autoprocprogramattachmentid) |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "autoProcProgramAttachmentId": 0,
- "autoProcProgramId": 0,
- "fileName": "string",
- "fileType": "string",
- "importanceRank": 0,
- "_metadata": {
- "url": "string"
}
}
], - "skip": 0,
- "limit": 0
}Get a list of lab contacts
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "proposalId": 0,
- "cardName": "string",
- "defaultCourrierCompany": "string",
- "courierAccount": "string",
- "billingReference": "string",
- "dewarAvgCustomsValue": 0,
- "dewarAvgTransportValue": 0,
- "Person": {
- "givenName": "string",
- "familyName": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "Laboratory": {
- "name": "string",
- "address": "string",
- "city": "string",
- "country": "string",
- "url": "string",
- "laboratoryExtPk": 0,
- "laboratoryId": 0,
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}
}, - "labContactId": 0,
- "personId": 0,
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}
], - "skip": 0,
- "limit": 0
}Create a new lab contact
| proposalId required | integer (Proposalid) |
| cardName required | string (Card Name) The name for this lab contact |
| defaultCourrierCompany | string (Courrier Company) Nullable |
| courierAccount | string (Account No.) Nullable |
| billingReference | string (Billing Reference) Nullable |
| dewarAvgCustomsValue | integer (Avg Customs Value) |
| dewarAvgTransportValue | integer (Avg Transport Value) |
required | object (Person) |
{- "proposalId": 0,
- "cardName": "string",
- "defaultCourrierCompany": "string",
- "courierAccount": "string",
- "billingReference": "string",
- "dewarAvgCustomsValue": 0,
- "dewarAvgTransportValue": 0,
- "Person": {
- "givenName": "string",
- "familyName": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "Laboratory": {
- "name": "string",
- "address": "string",
- "city": "string",
- "country": "string",
- "url": "string",
- "laboratoryExtPk": 0
}
}
}{- "proposalId": 0,
- "cardName": "string",
- "defaultCourrierCompany": "string",
- "courierAccount": "string",
- "billingReference": "string",
- "dewarAvgCustomsValue": 0,
- "dewarAvgTransportValue": 0,
- "Person": {
- "givenName": "string",
- "familyName": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "Laboratory": {
- "name": "string",
- "address": "string",
- "city": "string",
- "country": "string",
- "url": "string",
- "laboratoryExtPk": 0,
- "laboratoryId": 0,
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}
}, - "labContactId": 0,
- "personId": 0,
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}Get a lab contact
| labContactId required | integer (Labcontactid) |
{- "proposalId": 0,
- "cardName": "string",
- "defaultCourrierCompany": "string",
- "courierAccount": "string",
- "billingReference": "string",
- "dewarAvgCustomsValue": 0,
- "dewarAvgTransportValue": 0,
- "Person": {
- "givenName": "string",
- "familyName": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "Laboratory": {
- "name": "string",
- "address": "string",
- "city": "string",
- "country": "string",
- "url": "string",
- "laboratoryExtPk": 0,
- "laboratoryId": 0,
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}
}, - "labContactId": 0,
- "personId": 0,
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}Update a Lab Contact
| labContactId required | integer (Labcontactid) |
| cardName | string (Cardname) |
| defaultCourrierCompany | string (Defaultcourriercompany) |
| courierAccount | string (Courieraccount) |
| billingReference | string (Billingreference) |
| dewarAvgCustomsValue | integer (Dewaravgcustomsvalue) |
| dewarAvgTransportValue | integer (Dewaravgtransportvalue) |
object (PersonCreateOptional) |
{- "cardName": "string",
- "defaultCourrierCompany": "string",
- "courierAccount": "string",
- "billingReference": "string",
- "dewarAvgCustomsValue": 0,
- "dewarAvgTransportValue": 0,
- "Person": {
- "familyName": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "Laboratory": {
- "name": "string",
- "address": "string",
- "city": "string",
- "country": "string",
- "url": "string"
}
}
}{- "proposalId": 0,
- "cardName": "string",
- "defaultCourrierCompany": "string",
- "courierAccount": "string",
- "billingReference": "string",
- "dewarAvgCustomsValue": 0,
- "dewarAvgTransportValue": 0,
- "Person": {
- "givenName": "string",
- "familyName": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "Laboratory": {
- "name": "string",
- "address": "string",
- "city": "string",
- "country": "string",
- "url": "string",
- "laboratoryExtPk": 0,
- "laboratoryId": 0,
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}
}, - "labContactId": 0,
- "personId": 0,
- "recordTimeStamp": "2019-08-24T14:15:22Z"
}Get a data collection diffraction image
| dataCollectionId required | integer (Datacollectionid) |
| snapshot | boolean (Snapshot) Default: false Get snapshot image |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get a data collection image
| dataCollectionId required | integer (Datacollectionid) |
| imageId | integer (Imageid) [ 1 .. 4 ] Default: 1 Image 1-4 to return |
| snapshot | boolean (Snapshot) Default: false Get snapshot image |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get a list of data collection attachments
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
| dataCollectionGroupId | integer (Datacollectiongroupid) Data collection group id to filter by |
{- "total": 0,
- "results": [
- {
- "dataCollectionFileAttachmentId": 0,
- "dataCollectionId": 0,
- "fileType": "string",
- "_metadata": {
- "url": "string",
- "fileName": "string"
}
}
], - "skip": 0,
- "limit": 0
}Get a list of per image/point analysis
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
| dataCollectionId | integer (Datacollectionid) Data collection id to filter by |
| dataCollectionGroupId | integer (Datacollectiongroupid) Data collection group id to filter by |
{- "total": 0,
- "results": [
- {
- "dataCollectionId": 0,
- "imageNumber": [
- 0
], - "totalIntegratedSignal": [
- 0
], - "goodBraggCandidates": [
- 0
], - "method2Res": [
- 0
]
}
], - "skip": 0,
- "limit": 0
}Get a list of workflow steps
| workflowId | integer (Workflow id) |
| workflowStepId | integer (Workflow step id) |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "workflowId": 0,
- "workflowStepId": 0,
- "workflowStepType": "string",
- "status": "string",
- "comments": "string",
- "_metadata": {
- "attachments": {
- "property1": true,
- "property2": true
}
}
}
], - "skip": 0,
- "limit": 0
}Get a workflow step attachment
| workflowStepId required | integer (Workflowstepid) |
| attachmentType required | string (WorkflowStepAttachment) Enum: "imageResultFilePath" "resultFilePath" An enumeration. |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get a list of containers
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "code": "string",
- "dewarId": 0,
- "containerType": "string",
- "sampleChangerLocation": "string",
- "beamlineLocation": "string",
- "containerId": 0,
- "Dewar": {
- "code": "string",
- "Shipping": {
- "proposalId": 0,
- "shippingName": "string"
}
}
}
], - "skip": 0,
- "limit": 0
}Create a new container
| code required | string (Name) |
| dewarId required | integer (Dewarid) |
| containerType required | string (Containertype) |
| sampleChangerLocation | string (Samplechangerlocation) Position in sample change |
| beamlineLocation | string (Beamlinelocation) Beamline if container is assigned |
{- "code": "string",
- "dewarId": 0,
- "containerType": "string",
- "sampleChangerLocation": "string",
- "beamlineLocation": "string"
}{- "code": "string",
- "dewarId": 0,
- "containerType": "string",
- "sampleChangerLocation": "string",
- "beamlineLocation": "string",
- "containerId": 0,
- "Dewar": {
- "code": "string",
- "Shipping": {
- "proposalId": 0,
- "shippingName": "string"
}
}
}Get a container
| containerId required | integer (Containerid) |
{- "code": "string",
- "dewarId": 0,
- "containerType": "string",
- "sampleChangerLocation": "string",
- "beamlineLocation": "string",
- "containerId": 0,
- "Dewar": {
- "code": "string",
- "Shipping": {
- "proposalId": 0,
- "shippingName": "string"
}
}
}Update a Container
| containerId required | integer (Containerid) |
| code | string (Code) |
| dewarId | integer (Dewarid) |
| containerType | string (Containertype) |
| sampleChangerLocation | string (Samplechangerlocation) |
| beamlineLocation | string (Beamlinelocation) |
{- "code": "string",
- "dewarId": 0,
- "containerType": "string",
- "sampleChangerLocation": "string",
- "beamlineLocation": "string"
}{- "code": "string",
- "dewarId": 0,
- "containerType": "string",
- "sampleChangerLocation": "string",
- "beamlineLocation": "string",
- "containerId": 0,
- "Dewar": {
- "code": "string",
- "Shipping": {
- "proposalId": 0,
- "shippingName": "string"
}
}
}Get a list of proposals
| search | string (Search) Search string to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "proposalCode": "string",
- "proposalNumber": "string",
- "proposal": "string",
- "title": "string",
- "state": "Open",
- "_metadata": {
- "persons": 0,
- "sessions": 0,
- "beamLines": [
- "string"
], - "uiGroups": [
- "string"
]
}, - "proposalId": 0
}
], - "skip": 0,
- "limit": 0
}Get a proposal
| proposal required | string (Proposal) |
{- "proposalCode": "string",
- "proposalNumber": "string",
- "proposal": "string",
- "title": "string",
- "state": "Open",
- "_metadata": {
- "persons": 0,
- "sessions": 0,
- "beamLines": [
- "string"
], - "uiGroups": [
- "string"
]
}, - "proposalId": 0
}Get a list of people
| showAll | boolean (Showall) Default: false |
| proposal | string (Proposal) ^(\w|-)+\d+$ Proposal name to filter by |
| sessionId | integer (Sessionid) Session id to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "personId": 0,
- "givenName": "string",
- "familyName": "string",
- "_metadata": {
- "sessions": 0,
- "lastSession": "2019-08-24T14:15:22Z",
- "role": "string",
- "remote": true
}
}
], - "skip": 0,
- "limit": 0
}Get movies date for datacollection.
Args: proposal_id (str): proposal id or name datacollection_id (str): data collection id
| datacollection_id required | integer (Datacollection Id) |
| proposal_id required | string (Proposal Id) |
nullGet motion correction thumbnail for movie.
Args: proposal_id (str): proposal id or name movie_id (str): movie id
| movie_id required | integer (Movie Id) |
| proposal_id required | string (Proposal Id) |
nullGet motion correction drift thumbnail for movie.
Args: proposal_id (str): proposal id or name movie_id (str): movie id
| movie_id required | integer (Movie Id) |
| proposal_id required | string (Proposal Id) |
nullGet stats for data collection ids.
Args: proposal_id (str): proposal id or name data_collections_ids (str): comma-separated datacollection ids
| data_collections_ids required | string (Data Collections Ids) |
| proposal_id required | string (Proposal Id) |
nullGet stats for datacollection group.
Args: proposal_id (str): proposal id or name data_collections_group_id (str): data collection group id
| data_collections_group_id required | integer (Data Collections Group Id) |
| proposal_id required | string (Proposal Id) |
nullGet datacollection groups for session.
Args: proposal_id (str): proposal id or name session_id (str): session id
| proposal_id required | string (Proposal Id) |
| session_id required | string (Session Id) |
nullnullGet all sessions between two dates that user is allowed to access.
Args: start_date (str): start date end_date (str): end date
| start_date required | string (Start Date) |
| end_date required | string (End Date) |
nullnullGet movies date for datacollection.
Args: proposal_id (str): proposal id or name datacollection_id (str): data collection id
| datacollection_id required | integer (Datacollection Id) |
| token required | string (Token) |
| proposal_id required | string (Proposal Id) |
nullGet thumbnails for movie.
Args: proposal_id (str): proposal id or name movie_id (str): movie id
| movie_id required | integer (Movie Id) |
| token required | string (Token) |
| proposal_id required | string (Proposal Id) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get motion correction thumbnail for movie.
Args: proposal_id (str): proposal id or name movie_id (str): movie id
| movie_id required | integer (Movie Id) |
| token required | string (Token) |
| proposal_id required | string (Proposal Id) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get CTF thumbnail for movie.
Args: proposal_id (str): proposal id or name movie_id (str): movie id
| movie_id required | integer (Movie Id) |
| token required | string (Token) |
| proposal_id required | string (Proposal Id) |
nullGet motion correction drift thumbnail for movie.
Args: proposal_id (str): proposal id or name movie_id (str): movie id
| movie_id required | integer (Movie Id) |
| token required | string (Token) |
| proposal_id required | string (Proposal Id) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get stats for data collection ids.
Args: proposal_id (str): proposal id or name data_collections_ids (str): comma-separated datacollection ids
| data_collections_ids required | string (Data Collections Ids) |
| proposal_id required | string (Proposal Id) |
| token required | string (Token) |
nullGet stats for datacollection group.
Args: proposal_id (str): proposal id or name data_collections_group_id (str): data collection group id
| data_collections_group_id required | integer (Data Collections Group Id) |
| proposal_id required | string (Proposal Id) |
| token required | string (Token) |
nullGet datacollection groups for session.
Args: proposal_id (str): proposal id or name session_id (str): session id
| token required | string (Token) |
| proposal_id required | string (Proposal Id) |
| session_id required | string (Session Id) |
nullGet classification for session.
Args: session_id (str): session id
| token required | string (Token) |
| session_id required | string (Session Id) |
| self required | any (Self) |
| kwargs required | any (Kwargs) |
nullGet all sessions between two dates that user is allowed to access.
Args: start_date (str): start date end_date (str): end date
| start_date required | string (Start Date) |
| end_date required | string (End Date) |
| token required | string (Token) |
nullGet list of admin activity
| action_type | string (ActionType) Enum: "db_options" "online" An enumeration. |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "username": "string",
- "action": "string",
- "comments": "string",
- "dateTime": "2019-08-24T14:15:22Z"
}
], - "skip": 0,
- "limit": 0
}Get a list of UserGroups
| userGroupId | integer (Usergroupid) UserGroup id to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "name": "string",
- "userGroupId": 0,
- "_metadata": {
- "permissions": 0,
- "people": 0
}
}
], - "skip": 0,
- "limit": 0
}Add a new UserGroup
| name required | string (Name) The name of the group |
{- "name": "string"
}{- "name": "string",
- "userGroupId": 0,
- "_metadata": {
- "permissions": 0,
- "people": 0
}
}Update a UserGroup
| userGroupId required | integer (Usergroupid) |
| name | string (Name) |
{- "name": "string"
}{- "name": "string",
- "userGroupId": 0,
- "_metadata": {
- "permissions": 0,
- "people": 0
}
}Add a Permission to a UserGroup
| userGroupId required | integer (Usergroupid) |
| permissionId required | integer (Permission) |
{- "permissionId": 0
}{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Remove a Permission from a UserGroup
| userGroupId required | integer (Usergroupid) |
| permissionId required | integer (Permissionid) |
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Add a Person to a UserGroup
| userGroupId required | integer (Usergroupid) |
| personId required | integer (Person) |
{- "personId": 0
}{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}Get a list of Permissions
| permissionId | integer (Permissionid) Permission id to filter by |
| userGroupId | integer (Usergroupid) UserGroup id to filter by |
| search | string (Search) Search string to filter by |
| skip | integer (Skip) >= 0 Default: 0 Results to skip |
| limit | integer (Limit) Default: 25 Number of results to show |
{- "total": 0,
- "results": [
- {
- "type": "string",
- "description": "string",
- "permissionId": 0
}
], - "skip": 0,
- "limit": 0
}Add a new Permission
| type required | string (Permission) <= 15 characters The permission identifier |
| description | string (Description) <= 100 characters Description of this permission |
{- "type": "string",
- "description": "string"
}{- "type": "string",
- "description": "string",
- "permissionId": 0
}Update a Permission
| permissionId required | integer (Permissionid) |
| type | string (Type) <= 15 characters |
| description | string (Description) <= 100 characters |
{- "type": "string",
- "description": "string"
}{- "type": "string",
- "description": "string",
- "permissionId": 0
}Create/Update a proposal from the User Portal and all its related entities
required | object (UPProposal) |
Array of objects (Sessions) | |
Array of objects (Proteins) |
{- "proposal": {
- "title": "string",
- "proposalCode": "string",
- "proposalNumber": "string",
- "proposalType": "string",
- "externalId": 0,
- "state": "string",
- "persons": [
- {
- "siteId": 0,
- "personUUID": "string",
- "familyName": "string",
- "givenName": "string",
- "title": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "login": "string",
- "passwd": "string",
- "faxNumber": "string",
- "externalId": 0,
- "cache": "string",
- "laboratory": {
- "name": "string",
- "address": "string",
- "city": "string",
- "country": "string",
- "url": "string",
- "laboratoryExtPk": 0
}
}
], - "labcontacts": [
- {
- "cardName": "string",
- "defaultCourrierCompany": "string",
- "courierAccount": "string",
- "billingReference": "string",
- "dewarAvgCustomsValue": 0,
- "dewarAvgTransportValue": 0,
- "person": {
- "siteId": 0,
- "personUUID": "string",
- "familyName": "string",
- "givenName": "string",
- "title": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "login": "string",
- "passwd": "string",
- "faxNumber": "string",
- "externalId": 0,
- "cache": "string",
- "laboratory": {
- "name": "string",
- "address": "string",
- "city": "string",
- "country": "string",
- "url": "string",
- "laboratoryExtPk": 0
}
}
}
]
}, - "sessions": [
- {
- "expSessionPk": 0,
- "beamLineSetupId": 0,
- "projectCode": "string",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "beamLineName": "string",
- "scheduled": 0,
- "nbShifts": 0,
- "beamLineOperator": "string",
- "visit_number": 0,
- "usedFlag": 0,
- "sessionTitle": "string",
- "structureDeterminations": 0,
- "dewarTransport": 0,
- "databackupFrance": 0,
- "databackupEurope": 0,
- "operatorSiteNumber": "string",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "protectedData": "string",
- "externalId": 0,
- "nbReimbDewars": 0,
- "persons": [
- {
- "siteId": 0,
- "personUUID": "string",
- "familyName": "string",
- "givenName": "string",
- "title": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "login": "string",
- "passwd": "string",
- "faxNumber": "string",
- "externalId": 0,
- "cache": "string",
- "laboratory": {
- "name": "string",
- "address": "string",
- "city": "string",
- "country": "string",
- "url": "string",
- "laboratoryExtPk": 0
}, - "session_options": {
- "role": "Local Contact",
- "remote": 0
}
}
]
}
], - "proteins": [
- {
- "name": "string",
- "acronym": "string",
- "description": "string",
- "hazardGroup": 0,
- "containmentLevel": 0,
- "safetyLevel": "string",
- "molecularMass": 0,
- "proteinType": "string",
- "sequence": "string",
- "isCreatedBySampleSheet": 0,
- "externalId": 0,
- "componentTypeId": 0,
- "modId": "string",
- "concentrationTypeId": 0,
- "person": {
- "siteId": 0,
- "personUUID": "string",
- "familyName": "string",
- "givenName": "string",
- "title": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "login": "string",
- "passwd": "string",
- "faxNumber": "string",
- "externalId": 0,
- "cache": "string",
- "laboratory": {
- "name": "string",
- "address": "string",
- "city": "string",
- "country": "string",
- "url": "string",
- "laboratoryExtPk": 0
}
}
}
]
}{- "message": "string"
}