-
Notifications
You must be signed in to change notification settings - Fork 1
REST API Up
4IR.UK edited this page Oct 10, 2024
·
16 revisions
Returns the SMEMA Machine Ready I/O State
GET /api/multiplug.ext.hermes/up/smema/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"ready": false
}
-
200OK -
400BadRequest- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
403Forbidden- API Not Enabled
Sets the SMEMA Machine Ready I/O State
POST /api/multiplug.ext.hermes/up/smema/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used. -
BoolreadyOptions:truefalse
{
"ready": true
}
-
200OK -
422Unprocessed- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
403Forbidden- API Not Enabled
Returns all Upstream Boards
POST /api/multiplug.ext.hermes/up/boards/all/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
[
{
"guid": "0167be38-5427-4592-bbb3-18cad11a3a40",
"boardId": "647d5b52-bd51-41d1-a4ad-4104a460b100",
"boardIdCreatedBy": "DEK NeoHorizon",
"failedBoard": 1,
"productTypeId": "Basic",
"flippedBoard": 0,
"topBarcode": "0123456789",
"length": 50.0,
"width": 32.0,
"thickness": 2.0
}
]
-
200OK -
400BadRequest- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
403Forbidden- API Not Enabled
Returns any Board Forecast
POST /api/multiplug.ext.hermes/up/boards/forecast/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"forecastId": "556893030033",
"timeUntilAvailable": 20.0,
"boardId": "13c53a66-a45a-49a2-86cb-6fd5a1d62edc",
"boardIdCreatedBy": "DEK NeoHorizon",
"failedBoard": 1,
"flippedBoard": 1,
"length": 55.0,
"width": 21.0,
"thickness": 2.0
}
-
200OK -
400BadRequest- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
400BadRequest- Board Forecast Unavailable. -
403Forbidden- API Not Enabled
Returns the Hermes Service Description from the Upstream Connection
GET /api/multiplug.ext.hermes/up/hermes/servicedescription/
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
{
"machineId": "???UpstreamSimulation",
"laneId": 1,
"interfaceId": "UpStreamInterface",
"version": "1.3",
"supportedFeatures": {
"featureCheckAliveResponse": true,
"featureBoardForecast": true,
"featureQueryBoardInfo": false,
"featureSendBoardInfo": true,
"featureCommand": false
}
}
-
200OK -
400Bad Request- Lane Not Found. Iflaneguid not specified, no lanes are setup. -
400Bad Request- Service Description not received. -
403Forbidden- API Not Enabled
Reconnects the Upstream Hermes connection
POST /api/multiplug.ext.hermes/up/hermes/connection/restart
-
StringlaneOptional. Guid of the Lane. If not specified then first lane will be used.
-
200OK -
403Forbidden- API Not Enabled