| DWApplicationContextResource | /{app}/generic-application/context | GET applicationContext — effective metamodel, topic templates, strategies, albertModels, environmentVariables |
| DefaultResource · OnlyGetResource | /{app}/generic-application/default · …/onlyget | GET ping · GET checkTaskDone — completes a human task by name (personId, taskName, collaborationName, knowledgeSpaceName); the collaboration and knowledge-space names must match existing ones exactly, otherwise the call is refused (the task update would reach no client). Optional repeated outputName/outputValue pairs set output variables already declared in the task “Output Properties”. |
| OpenApiResource | /{app}/openapi.json | GET — OpenAPI descriptor when swagger.enabled |
| SystemResource | /{app}/generic-application/system | POST user/login, user/logout, user/register · GET user/users, user/users/{id}, user/hasAdmins, user/export/{userId} · POST/DELETE user/users · GET collaboration/collaborations[/{userId}], collaboration/collaboration/{id}, collaboration/knowledgeSpace/{id}, collaboration/collaboration/select/{id}, collaboration/knowledge/select/{cid}/{kid}, collaboration/collaboration/export/{id}, collaboration/knowledges/{cid}, collaboration/users/{cid}, collaboration/attachKnowledgeSpaceToCollaboration · POST collaboration/findCollaborationsByName, collaboration/collaborations, collaboration/connectUserToCollaboration · DELETE collaboration/collaborations/{id}, collaboration/knowledgeSpace/{id} · GET ping |
| UserResource | /{app}/user | POST login, logout, getUsers |
| CoreResource | /{app}/generic-application/core | POST/PUT nodes · POST nodes/getNode, nodes/findNodesByTypesAndOrProperties · DELETE nodes/{id} · POST/PUT edges · POST edges/getEdge · DELETE edges/{id} |
| Neo4JResource | /{app}/generic-application/neo4j | POST query — raw Cypher |
| ModelsResource | /{app}/generic-application/models | POST publishModel, synchronize, addModelsFromURL, freeze, cloneModelFromStatus · GET query, query/multiple · PUT deleteModels · POST playback/checkpoint, playback/restore · GET playback/state (playbackId and step; memory-only checkpoints). See Scenario timelines. |
| MetaModelsResource | /{app}/generic-application/metamodels | GET getUMLEffectiveDomain · POST publishSyncEffectiveDomain, unpublishSyncEffectiveDomain, extractSyncEffectiveDomain · GET content?domain=|extension= — what a domain or an extension brings (its own concepts grouped by package, its own relations), for the Edit project page of r-ioga |
| StorageResource · FileResource | …/storage · …/file | POST query, update · GET download, POST upload (multipart) |
| HumanTaskResource | /{app}/generic-application/persons/humantask | GET todoList/{assignedToId}, subscribeToAddTasksByAssignedToResource/{assignedToId} · POST updateTask — a task rejected in a to-do list keeps the resource it is assigned to as Rejected By (the resource of the logged user if several, R-IO for a mediation task without resource); a task marked done is saved at once · GET rejectedTasks/{processInstanceId} — the tasks of a process instance rejected by their resource (task, resource, reason, date), read by the supervision · POST isolatedTask {actualityId, personId, name} — gives an alert to a person outside any process (“Assign the alert” of r-io4U): the objective treating the alert takes the name of the task and is assigned to the person, whose to-do list gets the task; the alert is removed once the task is done; its acceptance or rejection (who, why, when) is written on the objective, which r-io4U reads to follow the assignment, and assigning it again clears the rejection |
| Person3DModelResource | …/person-3d-model | POST generate |
| MoveToResource | /{app}/generic-application/trajectory | POST moveTo, tracked, arrive, entrances, travelled · POST plan {…, reach, byCar, destination} — the expected path to a place; with byCar, when there is no way on foot, the car drives along the road network of the use case to the nearest parking and the rest is walked, and the answer lists its legs with their mode and written steps (“How to get there” of r-io4U) · POST simulate, findSimulation, saveSimulation, simulations, updateSimulation, deleteSimulation, deleteSituation, stopSimulation, finishSimulation, accelerate · POST taskSteps, isInside — what the forks of a scenario read · POST runs, saveRun, deleteRun, restoreRunSettings, POST and GET runVideo — the runs of a scenario and their videos · GET alertThreshold — alert threshold of the risks, read only · POST movedActors, playEffectStep, lateTasks, finishLateTasks — simulated moves, gradual effects and late tasks · POST taskDues, finishTask, endWait — tasks taken at once (Auto) by r-iosemit, see Scenario timelines — “Move To” of a movable resource along the pedestrian networks, expected paths of move tasks, and the simulations of the supervised tasks (moves and other tasks) saved in the open game scenario |
| IndoorPedestrianNetworkResource | /{app}/generic-application/indoor-pedestrian-network | POST generate — indoor pedestrian network of a building (corridors, doors, stairs, entrances) read from its indoor 2D plans and its 3D model |
| Site3DModelResource | /{app}/generic-application/site-3d-model | POST generate — GLB from a surface, an object, usable indoor plans or a reviewed site layout. POST analyze — orthophoto (IGN BD ORTHO, else Esri World Imagery), OpenStreetMap buildings, local tree detection and AI completion when available. Blender is required for construction. See Maps & 3D generation. |
| AIChatbotResource | /{app}/generic-application/aichatbot | POST query, describePicture, inventStory, invent{Functions, Roles, RolesFromObjectives, Actualities, Potentialities, Potential, Persons, Goods, Buildings, Roads, RoadNetworkFromTerritory, WaterNetworkFromTerritory, ElectricalNetworkFromTerritory, UrbanRailNetworkFromTerritory, PedestrianNetworkFromTerritory, Groups, Territories, Sensors, Iots, PositionFromTerritory, Pictures, CodeExplanation}, similarityLevel, loadDocumentsForRAG, exportDocumentsFromRAG, showInfosDocumentsInRAG, restoreRAGFromDirectory, deleteRAG, findContextAndPartnersInRAG, findKnownSituations {name, pictures, references} — the known situations ranked with a score 0-1, describeAlert {name, pictures} — a name and a description of an alert from its photos (both for the “Unknown situation” of r-io4U) · GET getRiopiotContext · GET ollama/status?mode=&url=, POST ollama/install, GET ollama/install/{taskId}, POST ollama/install/{taskId}/cancel — local AI service, see Local AI |
| ProcessResource | /{app}/r-ioga/process | POST deduceProcess, deploy, undeploy, supervise, runSync, runASync, findAssociatedStrategiesToRisk, cancelOrchestration, subscribeOnDeploymentService, subscribeOnProcessInstanceEventService, subscribeExchangesByInstance · GET list, instancesByProcess/{name}, processInstance/{id}, exchangesByInstance/{id}, getProcessModels/{name}, getProcessDeployResult/{name}, pauseOrchestration/{id}, resumeOrchestration/{id} · DELETE deleteOrchestration/{id} · POST runtimeDiff {supervisedSolutionId, deducedSolutionId} — what a deduction “From what was done” adds to, removes from and keeps in the running process (tasks paired by the function they were deduced from and their sub-process; only tasks are added) · POST modifyRunningProcess — the part not started yet of a running process is modified in place in the engine (tasks and sequence flows added, ids removed), all or nothing, then republished in the knowledge space and in the expected world of the supervised solution |
| SolutionResource | /{app}/r-ioga/solution | POST selectSolution, deduceSolutionASync, deploySolution, undeploySolution, superviseSolution, runASyncSolution, cancelSolution, endSupervisionIfResolved, deductionTrace, deductionTraces · POST eligibleActors?task= — the actors that can take a human task of the solution under review, the closest first · POST changeTaskActor?task=&actor= — gives the task to another actor in the review, plans its move again and computes the indicators again · GET findSelectedSolution · POST validateSolution — checks that the processes of a solution, as edited in the review of r-iota before deployment, can be deployed as they are ({valid, errors, warnings, indicators}), then computes its indicators again with the KPIL script of the project |
| ProjectResource | /{app}/r-ioga/projects | GET findProjectsByUserAndCollaboration/{collab}, projects/{id}, getProjectByNameInCollaboration, findEffectiveDomainByProjectId, findEffectivePackageByNameByProjectId, exportExcelData/{id}, containsRangeOnMetricsOrIndicators/{id} · POST projects, projects/metaModelRemovalImpact (concepts and instances that unchecking domains or extensions would remove), downloadRemoteUsecase, loadProjectFromUsecase, sharedModifications, exportProject, importProject, importExcelData · PUT projects · DELETE projects/{id}, resetAll — the archive stores each game scenario in game_scenarios/<Name>/ with its datasets/ and media/ (see scenario timelines) — Project archives & shared resources |
| SemanticResource | /{app}/r-ioga/semantic | POST exportToOWL, exportToTurtle, exportToJsonLd |
| InterpretationRulesResource | /{app}/r-ioga/interpretation_rules | POST importRule, addRules, addCepRuleDefinitions, addRulesFromURL, predict · GET rules, rule · DELETE deleteRules, deleteRule |
| SensorManagerResource | /{app}/sensorManager | POST createSensor, startSensor, stopSensor, deleteSensor, getSensor, setLocked, findSensorByTopic, updateConfigOfSensor, start/pause/update/continuousSignalIsStartedOnJSONConnector · GET getSensors, findSensorByProtocol/{type}/{nature}/{collab}/{ks} |
| CampaignResource | /{app}/r-iosepe/campaign | POST publishCampaign, getFailureSolutions, getAllCampaigns, findSolutionsByMetrics, createCampaign, updateCampaign, updateCampaignSolutionFlags, deleteCampaign · GET campaigns/{id}, campaignSolutionsFromCampaign/{id}, getCampaignsByUser, campaigns/{campaignId}/{solutionId} |
| UseCaseClockResource | /{app}/generic-application/clock | GET — clock of the use case of the user (now, offset to the server time, mode SERVER_TIME or SET, remote control, last change) · POST {date} — remote setting by a tool, refused unless the remote control is allowed · PUT settings {date | serverTime: true, remoteControl} — settings of the operator (r-ioga Edit project). Runtime state kept in the MongoDB collection useCaseClocks, not exported with the use case, and broadcast on the CLOCK topic; registered by RIOGAService, so present in r-ioga and in the applications built on it (r-iocal, r-ioda, r-ioded, r-ioplay, r-iored, r-iose, r-iosemit, r-iote). See Scenario timelines. |
| InterpretationResource | /{app}/generic-application/interpretation | GET quiet?timeout= — waits until no sensor event, CEP rule, interpretation or 2L wave is under way ({quiet, waitedMillis}, 60 s at most) |
| KnowledgeConsolidationResource | /{app}/generic-application/knowledge-consolidation | GET mechanisms, report · POST propose, apply, semantic-pertinence — see Knowledge consolidation |
| TrajectoryExtrapolationResource | /{app}/generic-application/extrapolation | GET the current extrapolations, their topic, horizon and switch · POST enabled, reset — the trajectories extended to the danger zones, see Digital twin |
| ForecastProjectionResource | /{app}/generic-application/forecast | POST snapshots — a ForecastSnapshot of a Forecast node, stored and projected through the CEP rules of the predicted sensor (returns the projection) · POST snapshots/{forecastId}/restore — sets back a previous snapshot, or clears it with an empty body · GET projections, projections/{forecastId}/last, projections/{forecastId}?limit=, sensors/{sensorId}/projections, sensors/{sensorId}/forecasts (ids of the forecasts predicting the sensor), connections (last state of the connection of each sensor and forecast to its provider: CONNECTED, FAILING, SUSPENDED or DISCONNECTED) · POST projected-conditions — when 2L conditions become true in the projected situation · POST/GET projection-spaces {date, threshold}, DELETE projection-spaces/{id} · GET proposals · POST proposals/{id}/transfer-model, proposals/{id}/deployed, proposals/{id}/{approve | refuse | defer | retry} (a refusal needs a justification) — forecasts and prospective deductions; projections kept in the MongoDB collection forecastProjections and pushed on …/sensors/forecast-projection; registered by RIOGAService, so present in r-ioga and in the applications built on it (r-iocal, r-ioda, r-ioded, r-ioplay, r-iored, r-iose, r-iosemit, r-iote) |
| ChatResource | /{app}/generic-application/chat | GET — who the user is in the chat (its person, or R-IO for a user without person) and its groups (All and one group per role: members, unread count, last message) · GET messages?group=&before=&limit= · POST messages {group, text, attachments} — broadcast on the CHAT topic · POST read {group} · POST attachments?name= (the file as body, 20 MB at most), GET attachments/{id} · POST transcribe?language= — dictation of an audio (25 MB at most) by the AI provider of the project. Messages kept in the MongoDB collections chatMessages and chatReads, attachments in a chatAttachments folder beside the resources folder (never inside it, since it is served without access control); not exported with the use case. Registered by RIOGAService. |
| HistoricalReportResource | /{app}/generic-application/report | GET now — date and time of the use case · GET timeline?from=&to= | minutes= — what happened over a period · POST generate {from, to} — builds a historical report (incidents, deductions, supervised processes, tasks and their actors, chat messages) · GET reports, reports/{id} · DELETE reports/{id} · POST reports/{id}/aiSummary — summary written by the AI of the project from the facts of the report only. Reports kept in the MongoDB collection historicalReports, not exported with the use case. Registered by RIOGAService; used by r-iota. |
| PushResource | /{app}/generic-application/push | Notifications of the phone (Web Push) for r-io4U in a browser: GET key — {publicKey} of the server, made at the first use · POST subscriptions {endpoint, keys: {p256dh, auth}} — this browser is told the new tasks of the person of the user, the alerts of its use case and the messages of its chat groups · POST subscriptions/remove {endpoint} · POST subscriptions/check {endpoint} — {subscribed} · POST test — a notification to the browsers of the user · POST test/user, GET test/{testId} — a test notification to the browsers of another user and its state · POST ack/{token} — acknowledgement sent by the browser when the notification is shown (no authentication). Key pair and subscriptions kept in the MongoDB collections pushKeys and pushSubscriptions, not exported with the use case, and copied in the file of the optional property web-push-store so that the phones stay subscribed after a restart (see Configuration); optional property web-push-subject (default https://r-iosuite.com). Registered by RIOGAService; used by r-io4U, whose web build r-ioga serves as a webjar at /r-ioga/webjars/r-io4u/. |
| ConnectedUsersResource | /{app}/generic-application/connected-users | Connected persons, shown in the header of the web applications and in r-io4U: POST {sessionId, application} — the beat of a session (every 20 s), returns the persons of its use case with their presence, availability, the user who pilots each and whether it is connected or lost since when · POST leave {sessionId} — the session is closed. A socket /ws/pubsub/presence/{session id} (not a topic) tells a cut at once; a lost session goes in standby after 2 min and is forgotten after 8 h. Kept in memory only. |