temperature-alarm/backend/Api/obj/Debug/net8.0/ApiEndpoints.json
2025-03-18 12:45:31 +01:00

98 lines
2.0 KiB
JSON

[
{
"ContainingType": "Api.Controllers.DeviceController",
"Method": "GetDevices",
"RelativePath": "api/Device",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "userId",
"Type": "System.Int32",
"IsRequired": false
}
],
"ReturnTypes": []
},
{
"ContainingType": "Api.Controllers.DeviceController",
"Method": "EditDevice",
"RelativePath": "api/Device/Edit",
"HttpMethod": "PUT",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "device",
"Type": "Models.Device",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "Api.Controllers.DeviceController",
"Method": "GetLogs",
"RelativePath": "api/Device/logs/{userId}",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "userId",
"Type": "System.Int32",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "Api.Controllers.UserController",
"Method": "CreateUser",
"RelativePath": "api/User/Create",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "user",
"Type": "Models.User",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "Api.Controllers.UserController",
"Method": "EditUser",
"RelativePath": "api/User/Edit",
"HttpMethod": "PUT",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "user",
"Type": "Models.User",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "Api.Controllers.UserController",
"Method": "Login",
"RelativePath": "api/User/Login",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "user",
"Type": "Models.User",
"IsRequired": true
}
],
"ReturnTypes": []
}
]