Presence.Desktop/presence_api/obj/Debug/net8.0/ApiEndpoints.json
2024-12-20 11:49:17 +03:00

146 lines
4.0 KiB
JSON

[
{
"ContainingType": "presence_api.Controllers.GroupController",
"Method": "getGroups",
"RelativePath": "api/Group",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": [
{
"Type": "System.Collections.Generic.IEnumerable\u00601[[data.RemoteData.RemoteDataBase.DAO.GroupDao, data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "presence_api.Controllers.PresenceController",
"Method": "getPresence",
"RelativePath": "api/Presence",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "GroupId",
"Type": "System.Int32",
"IsRequired": false
},
{
"Name": "StartData",
"Type": "System.DateOnly",
"IsRequired": false
},
{
"Name": "EndData",
"Type": "System.DateOnly",
"IsRequired": false
},
{
"Name": "UserId",
"Type": "System.Int32",
"IsRequired": false
}
],
"ReturnTypes": [
{
"Type": "System.Collections.Generic.IEnumerable\u00601[[data.RemoteData.RemoteDataBase.DAO.PresenceDao, data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "presence_api.Controllers.PresenceController",
"Method": "DeletePresence",
"RelativePath": "api/Presence",
"HttpMethod": "DELETE",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "GroupId",
"Type": "System.Int32",
"IsRequired": false
},
{
"Name": "UserId",
"Type": "System.Nullable\u00601[[System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
"IsRequired": false
},
{
"Name": "StartDate",
"Type": "System.Nullable\u00601[[System.DateOnly, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
"IsRequired": false
},
{
"Name": "EndDate",
"Type": "System.Nullable\u00601[[System.DateOnly, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
"IsRequired": false
}
],
"ReturnTypes": []
},
{
"ContainingType": "presence_api.Controllers.PresenceController",
"Method": "MarkUserAbsent",
"RelativePath": "api/Presence/mark-absent",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "request",
"Type": "data.RemoteData.RemoteDatabase.DAO.MarkAbsenceRequest",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "presence_api.Controllers.PresenceController",
"Method": "UpdateAttendance",
"RelativePath": "api/Presence/update",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "attendanceList",
"Type": "System.Collections.Generic.List\u00601[[data.RemoteData.RemoteDatabase.DAO.AttendanceInputModel, data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "TestController",
"Method": "BadRequestExample",
"RelativePath": "api/Test/bad-request",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": []
},
{
"ContainingType": "TestController",
"Method": "InternalServerErrorExample",
"RelativePath": "api/Test/internal-error",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": []
}
]