2026-06-10 11:16:46 +08:00

142 lines
3.4 KiB
JSON

[
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.DevicesController",
"Method": "GetAll",
"RelativePath": "api/Devices",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": []
},
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.DevicesController",
"Method": "GetById",
"RelativePath": "api/Devices/{deviceId}",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "deviceId",
"Type": "System.String",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.DevicesController",
"Method": "Ingest",
"RelativePath": "api/Devices/ingest",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "telemetry",
"Type": "YD_TrainingCompetition_Api.Models.DeviceTelemetry",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.HealthController",
"Method": "Get",
"RelativePath": "api/Health",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": []
},
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.RosterController",
"Method": "Apply",
"RelativePath": "api/Roster/apply",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "file",
"Type": "System.String",
"IsRequired": false
}
],
"ReturnTypes": []
},
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.RosterController",
"Method": "Load",
"RelativePath": "api/Roster/load",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "file",
"Type": "System.String",
"IsRequired": false
}
],
"ReturnTypes": []
},
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.RosterController",
"Method": "Templates",
"RelativePath": "api/Roster/templates",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": []
},
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.SerialController",
"Method": "Close",
"RelativePath": "api/Serial/close",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": []
},
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.SerialController",
"Method": "Open",
"RelativePath": "api/Serial/open/{portName}",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "portName",
"Type": "System.String",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.SerialController",
"Method": "GetPorts",
"RelativePath": "api/Serial/ports",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": []
},
{
"ContainingType": "YD_TrainingCompetition_Api.Controllers.SerialController",
"Method": "GetStatus",
"RelativePath": "api/Serial/status",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": []
}
]