Download OpenAPI specification:
{
}Returns all component settings defined for the deployment, see https://github.com/webgme/webgme/wiki/Component-Settings
{- "Plugin_ConfigurationArtifact__0_1_0": {
- "species": "Horsie",
- "age": 3,
- "carnivore": false,
- "classification": "Vertebrates",
- "color": "#FF0000",
- "file": ""
}, - "ICorePanel": {
- "consoleWindow": {
- "logLevel": "info",
- "verticalOrientation": false
}
}
}Returns a specific component settings defined for the deployment, see https://github.com/webgme/webgme/wiki/Component-Settings
| componentId required | string |
{- "consoleWindow": {
- "logLevel": "info",
- "verticalOrientation": false
}
}{- "_id": "demo",
- "email": "a@example.com",
- "canCreate": true,
- "projects": {
- "guest+aaaaaa": {
- "read": true,
- "write": true,
- "delete": false
}, - "demo+ASDF": {
- "read": true,
- "write": true,
- "delete": true
}
}, - "orgs": [
- "ATeam"
], - "siteAdmin": true,
- "data": { }
}Creates and returns a token for the user
{- "webgmeToken": "eyJhbGcjOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJkZW1vIiwiaWF0IjoxNDg3NjEyNjE0LCJleHAiOjE0ODgyMTc0MTR9.LAuYXXa4tQhLD1sUQl1MHZFwkaf6ua7_aA62WXFNAMEN-11tlmM576e5JuoE2KqxvoN2v8PZNXgPmL0vMpKSLc6orxnl5o6YABWGTCBPtbad-iAXnkm79MeQrRceYe3nW-Lhc9_PM6bJ3ftrtrmEUwtOL1bV6nhyBU4ICTE7m38"
}Get the datum. The user data field is an arbitrary object where developers can put custom data associated with a specific user. For preferences consider using settings instead, which provides options for server defaults.
| decrypt | boolean Decrypt the requested data. |
Get the setting. Gets all component-settings for a user, see https://github.com/webgme/webgme/wiki/Component-Settings
Get the setting. Gets a specific component settings for a user, see https://github.com/webgme/webgme/wiki/Component-Settings
| componentId required | string |
Collection of available users in WebGME
| includeDisabled | boolean (includeDisabled) Example: includeDisabled=true If true and user.siteAdmin disabled users will be included in response. |
| displayName | boolean (displayName) Example: displayName=true If true users with display name will be listed (only id and displayName will be in the response). |
[- {
- "_id": "aaaa23",
- "email": "asdf@alkfm.afdk",
- "canCreate": "true",
- "projects": { },
- "orgs": [ ],
- "siteAdmin": false,
- "data": { }
}, - {
- "_id": "anonymous",
- "email": "anonymous",
- "canCreate": true,
- "projects": { },
- "orgs": [ ],
- "siteAdmin": false
}, - {
- "_id": "user",
- "email": "user@example.com",
- "canCreate": null,
- "projects": { },
- "orgs": [ ]
}, - {
- "_id": "guest",
- "email": "guest",
- "canCreate": true,
- "projects": {
- "guest+6c": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+2b": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+xmptest": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+t1": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+t3": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+aaaaaa": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+bbb": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+a234": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+rty": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+rtyui": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+corediff": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+d": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+rt": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+d12": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+aaaaaaa": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+ghjklo": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+oiuytre": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+ccccccc": {
- "read": true,
- "write": true,
- "delete": true
}, - "guest+SFS": {
- "read": true,
- "write": true,
- "delete": true
}
}, - "orgs": [ ],
- "siteAdmin": false,
- "data": { }
}, - {
- "_id": "demo",
- "email": "demo",
- "canCreate": true,
- "projects": {
- "guest+aaaaaa": {
- "read": true,
- "write": true,
- "delete": false
}, - "demo+ASDF": {
- "read": true,
- "write": true,
- "delete": true
}
}, - "orgs": [ ],
- "siteAdmin": false,
- "data": { }
}
]Retrives the user entry.
| username required | string |
{- "_id": "demo",
- "email": "a@example.com",
- "canCreate": true,
- "projects": {
- "guest+aaaaaa": {
- "read": true,
- "write": true,
- "delete": false
}, - "demo+ASDF": {
- "read": true,
- "write": true,
- "delete": true
}
}, - "orgs": [
- "ATeam"
], - "siteAdmin": true,
- "data": { }
}Create a new user. Requires user.siteAdmin.
| username required | string |
{- "password": "demo",
- "email": "a@example.com",
- "canCreate": true,
- "siteAdmin": true
}{- "_id": "demo",
- "email": "a@example.com",
- "canCreate": true,
- "projects": {
- "guest+aaaaaa": {
- "read": true,
- "write": true,
- "delete": false
}, - "demo+ASDF": {
- "read": true,
- "write": true,
- "delete": true
}
}, - "orgs": [
- "ATeam"
], - "siteAdmin": true,
- "data": { }
}Updates the user if user.siteAdmin or same user. If {disabled ":" false} given and user.siteAdmin disabled user will be re-enabled.
| username required | string |
{- "password": "wordpass",
- "email": "a@example.com",
- "canCreate": true,
- "siteAdmin": true
}Deletes the user. Requires user.siteAdmin or same user.
| username required | string |
| force | boolean (force) Example: force=true If true and user.siteAdmin user at username will be permanently deleted from database. |
Get the datum. The user data field is an arbitrary object where developers can put custom data associated with a specific user. Consider using settings instead, which provides options for server defaults.
| username required | string |
Get the setting. Gets all component-settings for a user, see https://github.com/webgme/webgme/wiki/Component-Settings
| username required | string |
Get the setting. Gets a specific component settings for a user, see https://github.com/webgme/webgme/wiki/Component-Settings
| username required | string |
| componentId required | string |
Collection of available organizations in WebGME
| includeDisabled | boolean (includeDisabled) Example: includeDisabled=true If true and user.siteAdmin disabled organizations will be included in response. |
[- {
- "_id": "webgme",
- "projects": {
- "guest+aaaaaa": {
- "read": true,
- "write": true,
- "delete": false
}, - "webgme+ASDF": {
- "read": true,
- "write": true,
- "delete": true
}
}, - "type": "Organization",
- "admins": [
- "user1",
- "user2"
], - "info": { }
}, - {
- "_id": "org2",
- "projects": {
- "webgme+ASDF": {
- "read": true,
- "write": false,
- "delete": false
}
}, - "type": "Organization",
- "admins": [
- "pelleBlom"
], - "info": { }
}, - {
- "_id": "org",
- "projects": { },
- "type": "Organization",
- "admins": [
- "guest"
], - "info": { }
}
]Retrives organization data including members.
| orgId required | string |
{- "_id": "webgme",
- "projects": { },
- "type": "Organization",
- "admins": [
- "pelleBlom"
], - "users": [
- "pelleBlom"
]
}Create a new organization. Requires user.canCreate or user.siteAdmin.
| orgId required | string |
{
}{- "_id": "webgme",
- "projects": { },
- "type": "Organization",
- "admins": [
- "pelleBlom"
], - "users": [
- "pelleBlom"
]
}Updates the organization info if given which requires admin in organization or user.siteAdmin. If {disabled ":" false} given and user.siteAdmin disabled organization will be re-enabled.
| orgId required | string |
{
}{- "_id": "webgme",
- "projects": { },
- "type": "Organization",
- "admins": [
- "pelleBlom"
], - "users": [
- "pelleBlom"
]
}Delete an organization. Requires admin in organization or user.siteAdmin.
| orgId required | string |
| force | boolean (force) Example: force=true If true and user.siteAdmin the organization will be permanently deleted from database. |
Retrives an array of latested commits made to the project. Requires read access for project.
| ownerId required | string Example: guest |
| projectName required | string Example: ActivePanels |
| n | number (n) Example: n=2 Maximum number of commits to retrieve (default 100). |
[- {
- "_id": "#f2a624d9cfbf883c927b04dd45800ba55537dff5",
- "root": "#e1721a407ecce45c83b7352a62349cada71056bf",
- "parents": [
- "#4ac76d63da6f50cc5baaa5bfb42c86138edc9396"
], - "updater": [
- "guest"
], - "time": 1449590037764,
- "message": "[setRegistry(/1054504320/354493498/496824070/2098980444,,rotation,0)]",
- "type": "commit"
}, - {
- "_id": "#4ac76d63da6f50cc5baaa5bfb42c86138edc9396",
- "root": "#6fc60b12e9b17ebb69231fae3356455365d0f8b9",
- "parents": [
- ""
], - "updater": [
- "guest"
], - "time": 1449589988631,
- "message": "project created",
- "type": "commit"
}
]Retrieves the commit object associated with the commitId. Requires read access for project.
| ownerId required | string Example: guest |
| projectName required | string Example: ActivePanels |
| commitId required | string Example: b83ee8d50034fc96f006176bba516e68ce50838a Commit hash, with or without URL-encoded ''#''. |
{- "root": "#20d99ca1c0a2ec8a256d0beda8302d2bc0ddd300",
- "parents": [
- "#8b2ce483f807d52d44a9377d08ac5a7573ddb07c"
], - "updater": [
- "pmeijer"
], - "time": 1448397167677,
- "message": "[setRegistry(/1036661779/588886926,,position,[object Object])]",
- "type": "commit",
- "_id": "#cdfc41958e056e5faf59ff3059394368204a7bbc"
}Retrieves the given state of the project as a webgmex file. Requires read access for project.
| ownerId required | string Example: guest |
| projectName required | string Example: ActivePanels |
| commitId required | string Example: b83ee8d50034fc96f006176bba516e68ce50838a Commit hash, with or without URL-encoded ''#''. |
Retrieves the given state of a model - pointed by the path of its root node - as a webgmexm file. Requires read access for project.
| ownerId required | string Example: guest |
| projectName required | string Example: ActivePanels |
| commitId required | string Example: b83ee8d50034fc96f006176bba516e68ce50838a Commit hash, with or without URL-encoded ''#''. |
| nodePath required | string Example: 1aB/CdE2 |
Retrieves the raw data object at given path within the project tree. Requires read access for project.
| ownerId required | string Example: guest |
| projectName required | string Example: ActivePanels |
| commitId required | string Example: b83ee8d50034fc96f006176bba516e68ce50838a Commit hash, with or without URL-encoded ''#''. |
| nodePath required | string Example: 1563412505/5585498754 |
Retrives an array of the commit history for the branch. Requires read access for project.
| ownerId required | string Example: guest |
| projectName required | string Example: ActivePanels |
| branchId required | string Example: master |
| n | number (n) Example: n=2 Maximum number of commits to retrieve (default 100). |
[- {
- "_id": "#f2a624d9cfbf883c927b04dd45800ba55537dff5",
- "root": "#e1721a407ecce45c83b7352a62349cada71056bf",
- "parents": [
- "#4ac76d63da6f50cc5baaa5bfb42c86138edc9396"
], - "updater": [
- "guest"
], - "time": 1449590037764,
- "message": "[setRegistry(/1054504320/354493498/496824070/2098980444,,rotation,0)]",
- "type": "commit"
}, - {
- "_id": "#4ac76d63da6f50cc5baaa5bfb42c86138edc9396",
- "root": "#6fc60b12e9b17ebb69231fae3356455365d0f8b9",
- "parents": [
- ""
], - "updater": [
- "guest"
], - "time": 1449589988631,
- "message": "project created",
- "type": "commit"
}
]Retrieves the given state of a model - pointed by the path of its root - as a webgmexm file. Requires read access of project.
| ownerId required | string Example: guest |
| projectName required | string Example: ActivePanels |
| branchId required | string Example: master |
| nodePath required | string Example: a2B/b3C |
Retrieves the raw data object at given path within the project tree. Requires read access for project.
| ownerId required | string Example: guest |
| projectName required | string Example: ActivePanels |
| branchId required | string Example: master |
| nodePath required | string Example: 1563412505/5585498754 |
Squash multi commits into a single one. Requires write access for project.
| ownerId required | string Example: guest |
| projectName required | string Example: ActivePanels |
{- "fromCommit": "#6e41041cf8e6cf3f81039c101b3adfc46ab703d4",
- "toCommitOrBranch": "master",
- "message": "feature 'A' squashed into a single commit"
}Returns a combined object of all different statuses (if add-ons are disabled addOns will be null).
{- "addOns": {
- "guest+ANewProject": {
- "initRequested": true,
- "closeRequested": false,
- "renewingToken": false,
- "inStoppedAndStarted": 0,
- "branchMonitors": {
- "master": {
- "startRequested": true,
- "stopRequested": false,
- "branchIsOpen": true,
- "commitHash": "#0a1b4a3c4f1a4e4efcb4914192f227e801f421a3",
- "runningAddOns": [ ],
- "lastActivity": 1520290354966
}
}
}, - "guest+LogicGates": {
- "initRequested": true,
- "closeRequested": false,
- "renewingToken": false,
- "inStoppedAndStarted": 0,
- "branchMonitors": {
- "master": {
- "startRequested": true,
- "stopRequested": false,
- "branchIsOpen": true,
- "commitHash": "#980a3e12e6c77efe51163989222b7f703026bcff",
- "runningAddOns": [ ],
- "lastActivity": 1520290366899
}
}
}
}, - "serverWorkers": {
- "waitingRequests": [ ],
- "workers": [
- {
- "pid": "3668",
- "state": "working",
- "request": {
- "command": "exportProjectToFile",
- "projectId": "guest+ANewProject",
- "commitHash": "#0a1b4a3c4f1a4e4efcb4914192f227e801f421a3",
- "withAssets": true,
- "userId": "hans",
- "socketId": "A2Vo2ji9PAxNCqaFAAAG"
}
}, - {
- "pid": "4692",
- "state": "free"
}
]
}, - "webSockets": [
- {
- "socketId": "A2Vo2ji9PAxNCqaFAAAG",
- "userId": "hans",
- "connectedSince": "Mon Mar 05 2018 16:52:33 GMT-0600 (Central Standard Time)"
}, - {
- "socketId": "hXhumKK5MuVSbAJHAAAH",
- "userId": "olle",
- "connectedSince": "Mon Mar 05 2018 16:52:34 GMT-0600 (Central Standard Time)"
}, - {
- "socketId": "BgKWYImd4d0wSMFYAAAI",
- "userId": "guest",
- "connectedSince": "Mon Mar 05 2018 16:52:45 GMT-0600 (Central Standard Time)"
}, - {
- "socketId": "T1PbWEZ_8nxL2hFpAAAJ",
- "userId": "guest",
- "connectedSince": "Mon Mar 05 2018 16:52:46 GMT-0600 (Central Standard Time)"
}, - {
- "socketId": "-WydaU_FsQcpCFwqAAAK",
- "userId": "ragnar",
- "connectedSince": "Mon Mar 05 2018 16:53:50 GMT-0600 (Central Standard Time)"
}
]
}Returns status about running addons (404 if add-ons are disabled)
{- "guest+ANewProject": {
- "initRequested": true,
- "closeRequested": false,
- "renewingToken": false,
- "inStoppedAndStarted": 0,
- "branchMonitors": {
- "master": {
- "startRequested": true,
- "stopRequested": false,
- "branchIsOpen": true,
- "commitHash": "#0a1b4a3c4f1a4e4efcb4914192f227e801f421a3",
- "runningAddOns": [ ],
- "lastActivity": 1520290354966
}
}
}, - "guest+LogicGates": {
- "initRequested": true,
- "closeRequested": false,
- "renewingToken": false,
- "inStoppedAndStarted": 0,
- "branchMonitors": {
- "master": {
- "startRequested": true,
- "stopRequested": false,
- "branchIsOpen": true,
- "commitHash": "#980a3e12e6c77efe51163989222b7f703026bcff",
- "runningAddOns": [ ],
- "lastActivity": 1520290366899
}
}
}
}Returns status about running server workers and request queue
{- "waitingRequests": [ ],
- "workers": [
- {
- "pid": "3668",
- "state": "working",
- "request": {
- "command": "exportProjectToFile",
- "projectId": "guest+ANewProject",
- "commitHash": "#0a1b4a3c4f1a4e4efcb4914192f227e801f421a3",
- "withAssets": true,
- "userId": "hans",
- "socketId": "A2Vo2ji9PAxNCqaFAAAG"
}
}, - {
- "pid": "4692",
- "state": "free"
}
]
}Returns a list of all currently connected web-sockets
[- {
- "socketId": "A2Vo2ji9PAxNCqaFAAAG",
- "userId": "hans",
- "connectedSince": "Mon Mar 05 2018 16:52:33 GMT-0600 (Central Standard Time)"
}, - {
- "socketId": "hXhumKK5MuVSbAJHAAAH",
- "userId": "olle",
- "connectedSince": "Mon Mar 05 2018 16:52:34 GMT-0600 (Central Standard Time)"
}, - {
- "socketId": "BgKWYImd4d0wSMFYAAAI",
- "userId": "guest",
- "connectedSince": "Mon Mar 05 2018 16:52:45 GMT-0600 (Central Standard Time)"
}, - {
- "socketId": "T1PbWEZ_8nxL2hFpAAAJ",
- "userId": "guest",
- "connectedSince": "Mon Mar 05 2018 16:52:46 GMT-0600 (Central Standard Time)"
}, - {
- "socketId": "-WydaU_FsQcpCFwqAAAK",
- "userId": "ragnar",
- "connectedSince": "Mon Mar 05 2018 16:53:50 GMT-0600 (Central Standard Time)"
}
]Returns info about specific seed. Currently only the blobHash of the seed is returned.
| seedName required | string |
{- "blobHash": "da39a3ee5e6b4b0d3255bfef95601890afd80709"
}[- {
- "id": "ModelEditor",
- "title": "Composition",
- "panel": "js/Panels/ModelEditor/ModelEditorPanel",
- "DEBUG_ONLY": false
}, - {
- "id": "Block Editor",
- "title": "Block Editor",
- "panel": "js/Panels/BlockEditor/BlockEditorPanel",
- "DEBUG_ONLY": true
}, - {
- "id": "METAAspect",
- "title": "Meta",
- "panel": "js/Panels/MetaEditor/MetaEditorPanel",
- "DEBUG_ONLY": false
}, - {
- "id": "SetEditor",
- "title": "Set membership",
- "panel": "js/Panels/SetEditor/SetEditorPanel",
- "DEBUG_ONLY": false
}, - {
- "id": "Crosscut",
- "title": "Crosscut",
- "panel": "js/Panels/Crosscut/CrosscutPanel",
- "DEBUG_ONLY": false
}, - {
- "id": "ContainmentGrid",
- "title": "Containment Grid - All",
- "panel": "js/Panels/Grid/GridPanel",
- "DEBUG_ONLY": true
}, - {
- "id": "ContainmentGridPointers",
- "title": "Containment Grid - Pointers",
- "panel": "js/Panels/Grid/GridPanelPointers",
- "DEBUG_ONLY": true
}, - {
- "id": "GridSets",
- "title": "Set explorer (DEBUG)",
- "panel": "js/Panels/Grid/GridPanelSets",
- "DEBUG_ONLY": true
}, - {
- "id": "GraphViz",
- "title": "Graph view",
- "panel": "js/Panels/GraphViz/GraphVizPanel",
- "DEBUG_ONLY": false
}
]Get an array of all metadata associated with the available plugins.
{- "value": [
- {
- "id": "ConstraintEvaluator",
- "name": "Constraint Evaluator",
- "version": "1.7.0",
- "description": "Plugin for developers to test, evaluate and add custom constraints.",
- "icon": {
- "src": "",
- "class": "glyphicon glyphicon-ok-circle"
}, - "disableServerSideExecution": false,
- "disableBrowserSideExecution": false,
- "writeAccessRequired": true,
- "configStructure": [
- {
- "name": "mode",
- "displayName": "Execution mode",
- "description": "Select if Constraints.js should be evaluated, generated or populated in model.",
- "value": "EvaluateConstraints",
- "valueType": "string",
- "valueItems": [
- "EvaluateConstraints",
- "GenerateConstraints",
- "PopulateFromConstraints"
]
}, - {
- "name": "clear",
- "displayName": "Clear existing constraints",
- "description": "Clear all existing constraints when populating model with constraints.",
- "value": false,
- "valueType": "boolean"
}
]
}, - {
- "id": "MinimalWorkingExample",
- "name": "Minimal Working Example",
- "version": "1.7.0",
- "description": "Simple plugin illustrating how to save to a model from a plugin.",
- "icon": {
- "src": "",
- "class": "glyphicon glyphicon-floppy-save"
}, - "disableServerSideExecution": false,
- "disableBrowserSideExecution": false,
- "writeAccessRequired": true,
- "configStructure": [
- {
- "name": "shouldFail",
- "displayName": "Should fail",
- "description": "Example if the plugin execution fails",
- "value": false,
- "valueType": "boolean",
- "readOnly": false
}, - {
- "name": "save",
- "displayName": "Should save the model",
- "description": "Will update the model if true",
- "value": true,
- "valueType": "boolean",
- "readOnly": false
}
]
}
]
}Gets the default configuration for the plugin.
| pluginId required | string |
{- "pluginID": "NewPlugin",
- "pluginName": "New Plugin",
- "description": "",
- "test": true,
- "templateType": "None",
- "configStructure": false,
- "meta": true
}Gets the conficuration structure for a plugin.
| pluginId required | string |
{- "value": [
- {
- "name": "pluginID",
- "displayName": "Unique plugin identifier",
- "regex": "^(?!(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$)[a-zA-Z_$][0-9a-zA-Z_$]*",
- "regexMessage": "No spaces and special characters allowed. This value is used as the name of the generated plugin class.",
- "description": "Unique ID for the plugin.",
- "value": "NewPlugin",
- "valueType": "string",
- "readOnly": false
}, - {
- "name": "pluginName",
- "displayName": "Name",
- "description": "Short readable plugin name; spaces are allowed",
- "value": "New Plugin",
- "valueType": "string",
- "readOnly": false
}, - {
- "name": "description",
- "displayName": "Description",
- "description": "Optional description of the plugin.",
- "value": "",
- "valueType": "string",
- "readOnly": false
}, - {
- "name": "test",
- "displayName": "Include testing script",
- "description": "Generate template for unit-tests.",
- "value": true,
- "valueType": "boolean",
- "readOnly": false
}, - {
- "name": "templateType",
- "displayName": "Example template",
- "description": "Ejs template for code generation, also illustrates how to save artifacts using the blobClient.",
- "value": "None",
- "valueType": "string",
- "valueItems": [
- "None",
- "JavaScript",
- "Python",
- "CSharp"
], - "readOnly": false
}, - {
- "name": "configStructure",
- "displayName": "Include Configuration Structure.",
- "description": "Configuration structure will populate this GUI with controls.",
- "value": false,
- "valueType": "boolean",
- "readOnly": false
}, - {
- "name": "meta",
- "displayName": "Generate META",
- "description": "Generates a static listing of the meta objects to facilitate coding.",
- "value": true,
- "valueType": "boolean",
- "readOnly": false
}
]
}Gets the metadata associated with the given plugin.
| pluginId required | string |
{- "value": {
- "id": "ConfigurationArtifact",
- "name": "Configuration and Artifacts",
- "version": "2.22.0",
- "description": "Illustrates how to setup a configuration for the plugin and how to generate and return artifacts.",
- "icon": {
- "src": "",
- "class": "glyphicon glyphicon-list-alt"
}, - "disableServerSideExecution": false,
- "disableBrowserSideExecution": false,
- "writeAccessRequired": false,
- "configStructure": [
- {
- "name": "species",
- "displayName": "Animal Species",
- "regex": "^[a-zA-Z]+$",
- "regexMessage": "Name can only contain English characters!",
- "description": "Which species does the animal belong to.",
- "value": "Horse",
- "valueType": "string",
- "readOnly": false
}, - {
- "name": "age",
- "displayName": "Age",
- "description": "How old is the animal.",
- "value": 3,
- "valueType": "number",
- "minValue": 0,
- "maxValue": 10000,
- "readOnly": false,
- "writeAccessRequired": true
}, - {
- "name": "gender",
- "displayName": "Gender distribution",
- "description": "What is the ratio between females and males?",
- "value": 0.5,
- "valueType": "number",
- "minValue": 0,
- "maxValue": 1,
- "increment": 0.01
}, - {
- "name": "carnivore",
- "displayName": "Carnivore",
- "description": "Does the animal eat other animals?",
- "value": false,
- "valueType": "boolean",
- "readOnly": false
}, - {
- "name": "isAnimal",
- "displayName": "Is Animal",
- "description": "Is this animal an animal? [Read-only]",
- "value": true,
- "valueType": "boolean",
- "readOnly": true
}, - {
- "name": "classification",
- "displayName": "Classification",
- "description": "",
- "value": "Vertebrates",
- "valueType": "string",
- "valueItems": [
- "Vertebrates",
- "Invertebrates",
- "Unknown"
]
}, - {
- "name": "color",
- "displayName": "Color",
- "description": "The hex color code for the animal.",
- "readOnly": false,
- "value": "#FF0000",
- "regex": "^#([A-Fa-f0-9]{6})$",
- "valueType": "string"
}, - {
- "name": "food",
- "displayName": "Food",
- "description": "Food preference ordered",
- "readOnly": false,
- "value": [
- "Grass",
- "Mushrooms",
- "Leaves",
- "Antilope",
- "Rabbit"
], - "valueType": "sortable",
- "valueItems": [
- "Grass",
- "Mushrooms",
- "Leaves",
- "Antilope",
- "Rabbit"
]
}, - {
- "name": "file",
- "displayName": "File",
- "description": "",
- "value": "",
- "valueType": "asset",
- "readOnly": false
}
]
}
}Executes a plugin on server side. Returns with a result id.
| pluginId required | string |
{- "projectId": "guest+MyProject",
- "branchName": "master"
}{- "resultId": "f30f619b-3c80-87b7-3e35-6aec08c4cc14"
}Runs a plugin on the server side and waits for it to finish.
| pluginId required | string |
{- "projectId": "guest+MyProject",
- "branchName": "master"
}{- "success": true,
- "messages": [ ],
- "commits": [
- {
- "commitHash": "#f8af7999fd95efbddb7f7b4fc9446f0dac2e33c6",
- "branchName": "master",
- "status": "SYNCED"
}
], - "artifacts": [
- "da47ded7c3391fc46cd84752c829fc383649bc94"
], - "pluginName": "Export, Import and Update Library",
- "startTime": "2015-09-24T21:44:16.456Z",
- "finishTime": "2015-09-24T21:45:02.047Z",
- "error": null
}Gets a result for this plugin by resultId.
| pluginId required | string |
| resultId required | string |
{- "status": "FINISHED",
- "result": {
- "success": true,
- "messages": [ ],
- "commits": [
- {
- "commitHash": "#f8af7999fd95efbddb7f7b4fc9446f0dac2e33c6",
- "branchName": "master",
- "status": "SYNCED"
}
], - "artifacts": [
- "da47ded7c3391fc46cd84752c829fc383649bc94"
], - "pluginName": "Export, Import and Update Library",
- "startTime": "2015-09-24T21:44:16.456Z",
- "finishTime": "2015-09-24T21:45:02.047Z",
- "error": null
}
}initiate a reset request (response will only contain a resetHash if e-mail sending is not active for password resets)
{- "userId": "myLittleUserName"
}{- "resetHash": "someRandomCharacters"
}{- "39aa77396352b2b19c8cab7450b06791a8652e6e": {
- "name": "executor_config.json.zip",
- "size": 278,
- "mime": "application/zip",
- "isPublic": false,
- "tags": [ ],
- "content": "f9d5a93b1e76a5ead51d7762c9520e6998911cb5",
- "contentType": "object",
- "lastModified": "2015-09-09T18:23:28.000Z"
}
}{- "hash": "39aa77396352b2b19c8cab7450b06791a8652e6e",
- "resultHashes": [ ],
- "resultSuperSet": null,
- "userId": [ ],
- "status": "RUNNING",
- "createTime": "2015-09-09T18:58:40.877Z",
- "startTime": null,
- "finishTime": null,
- "worker": "Adams-iMac_5436",
- "labels": [ ],
- "_id": "aat06FquApMHW4Rj"
}{- "hash": "39aa77396352b2b19c8cab7450b06791a8652e6e",
- "resultHashes": [ ],
- "resultSuperSet": null,
- "userId": [ ],
- "status": "CREATED",
- "createTime": "2015-09-09T18:45:22.983Z",
- "startTime": null,
- "finishTime": null,
- "worker": null,
- "labels": [ ]
}