ConneX_Help.pdf - 第58页
syste m Types query { systems { handlerId handlerType ipAddress hostName machineFact ory } } Grap hQL { "data": { "systems" : [ { "handlerId" : 1, "handlerTyp e": "PSV2800&quo…

system
Type:
Handler
Look up a singular PSV system by its database ID.
Arguments
Name Description
databaseId
(
Int!
)The database identifier of the handler.
Example
Request Response
systems
Type:
[Handler]
Look up all the known PSV systems connected to this instance of ConneX.
Example
Request Response
{
"data": {
"programmerTypes": [
"FLASH_CORE",
"LUMEN_X"
]
}
}
JSON
query {
system (databaseId: 1) {
handlerId
}
}
GraphQL
{
"data": {
"system": {
"handlerId": 1,
"handlerType": "PSV2800",
"ipAddress": "172.16.0.1",
"hostName": "PSV-1",
"machineFactory": null
}
}
}
JSON

systemTypes
query {
systems {
handlerId
handlerType
ipAddress
hostName
machineFactory
}
}
GraphQL
{
"data": {
"systems": [
{
"handlerId": 1,
"handlerType": "PSV2800",
"ipAddress": "172.16.0.1",
"hostName": "PSV-1",
"machineFactory": null
},
{
"handlerId": 2,
"handlerType": "PSV3000",
"ipAddress": "172.16.0.2",
"hostName": "PSV-2",
"machineFactory": null
},
{
"handlerId": 3,
"handlerType": "PSV5000",
"ipAddress": "172.16.0.3",
"hostName": "PSV-3",
"machineFactory": null
},
{
"handlerId": 4,
"handlerType": "PSV5000",
"ipAddress": "172.16.0.11",
"hostName": "PSV-6",
"machineFactory": null
},
{
"handlerId": 5,
"handlerType": "PSV7000",
"ipAddress": "172.16.0.9",
"hostName": "PSV-4",
"machineFactory": null
},
{
"handlerId": 6,
"handlerType": "PSV7000",
"ipAddress": "172.16.0.10",
"hostName": "PSV-5",
"machineFactory": null
}
]
}
}
JSON

Type:
[HandlerType!]
Look up all the known PSV system types that can be connected to this instance of ConneX.
Example
Request Response
query {
systemTypes
}
GraphQL
{
"data": {
"systemTypes": [
"DESKTOP",
"PSV2800",
"PSV3000",
"PSV5000",
"PSV7000"
]
}
}
JSON