infra
Serialize an infra
get/infra/{infra_id}/railjson
Path parameters
infra_idinteger required
An existing infra ID
Response
The infra in railjson format
Example response
{
"extended_switch_types": [
{
"groups": {
"LEFT": {
"dst": "LEFT",
"src": "BASE"
},
"RIGHT": {
"dst": "RIGHT",
"src": "BASE"
}
},
"id": "Point",
"ports": [
"LEFT",
"RIGHT",
"BASE"
]
}
]
}