Presence_Desktop/presence_api/obj/Debug/net8.0/ApiEndpoints.json
2024-12-23 14:26:41 +03:00

96 lines
2.3 KiB
JSON

[
{
"ContainingType": "presence_api.Controllers.AdminController",
"Method": "GetAllGroupsWithUsers",
"RelativePath": "api/admin/groups",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": [
{
"Type": "System.Collections.Generic.List\u00601[[domain.Models.GroupWithStudentsDto, domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "presence_api.Controllers.AdminController",
"Method": "RemoveGroupById",
"RelativePath": "api/admin/groups/{groupId}",
"HttpMethod": "DELETE",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "groupId",
"Type": "System.Int32",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "presence_api.Controllers.AdminController",
"Method": "AddGroupWithStudents",
"RelativePath": "api/admin/groups/add",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "groupDto",
"Type": "domain.Models.GroupWithStudentsDto",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "presence_api.Controllers.AdminController",
"Method": "ClearPresence",
"RelativePath": "api/admin/presence/clear",
"HttpMethod": "DELETE",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": []
},
{
"ContainingType": "presence_api.Controllers.AdminController",
"Method": "GetStudentInfo",
"RelativePath": "api/admin/student/{userGuid}",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "userGuid",
"Type": "System.Guid",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "presence_api.Controllers.AdminController",
"Method": "RemoveUserByGuid",
"RelativePath": "api/admin/users/{userGuid}",
"HttpMethod": "DELETE",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "userGuid",
"Type": "System.Guid",
"IsRequired": true
}
],
"ReturnTypes": []
}
]