ZhiYi/ZhiYi.Core.Api/obj/Debug/net6.0/ApiEndpoints.json

386 lines
9.5 KiB
JSON
Raw Normal View History

2025-02-21 01:14:39 +00:00
[
{
"ContainingType": "ZhiYi.Core.Api.Controllers.CaptchaController",
"Method": "GetCaptchaAsync",
"RelativePath": "api/captcha/GetCaptcha",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": [
{
"Type": "ZhiYi.Core.Application.Dtos.CaptchaResponseDto",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.SharedController",
"Method": "CreateAsync",
"RelativePath": "api/Create",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.Shared.SharedCreationDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "ZhiYi.Core.Application.Dtos.AppResponse\u00601[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.SharedController",
"Method": "DeleteBatchAsync",
"RelativePath": "api/DeleteBatch",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.Shared.SharedDeleteDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.SharedController",
"Method": "GetListAsync",
"RelativePath": "api/GetList",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "id",
"Type": "System.Int64",
"IsRequired": false
}
],
"ReturnTypes": [
{
"Type": "ZhiYi.Core.Application.Dtos.AppResponse\u00601[[System.Collections.Generic.List\u00601[[ZhiYi.Core.Application.Dtos.Shared.SharedDto, ZhiYi.Core.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.GroupController",
"Method": "CreateAsync",
"RelativePath": "api/group/Create",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.Group.GroupCreationDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.GroupController",
"Method": "DeleteAsync",
"RelativePath": "api/group/Delete",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.Group.GroupDeleteDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.GroupController",
"Method": "GetListAsync",
"RelativePath": "api/group/GetList",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "userid",
"Type": "System.Int64",
"IsRequired": false
}
],
"ReturnTypes": [
{
"Type": "ZhiYi.Core.Application.Dtos.AppResponse\u00601[[System.Collections.Generic.List\u00601[[ZhiYi.Core.Repository.Entities.ZhiYi_Group, ZhiYi.Core.Repository, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.GroupController",
"Method": "UpdateAsync",
"RelativePath": "api/group/Update",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.Group.GroupUpdationDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.ServerController",
"Method": "CreateAsync",
"RelativePath": "api/server/Create",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.Server.ServerCreationDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.ServerController",
"Method": "DeleteAsync",
"RelativePath": "api/server/Delete",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.Server.ServerDeleteDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.ServerController",
"Method": "GetListAsync",
"RelativePath": "api/server/GetList",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "groupid",
"Type": "System.Int64",
"IsRequired": false
}
],
"ReturnTypes": [
{
"Type": "ZhiYi.Core.Application.Dtos.AppResponse\u00601[[System.Collections.Generic.List\u00601[[ZhiYi.Core.Repository.Entities.ZhiYi_Server, ZhiYi.Core.Repository, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.ServerController",
"Method": "UpdateAsync",
"RelativePath": "api/server/Update",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.Server.ServerUpdationDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.UserController",
"Method": "GetSignature",
"RelativePath": "api/user/GetSignature",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.SignatureCreationDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.String",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.UserController",
"Method": "LoginAsync",
"RelativePath": "api/user/Login",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.UserLoginDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "ZhiYi.Core.Application.Dtos.LoginResponseDto",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.UserController",
"Method": "RegisterAsync",
"RelativePath": "api/user/Register",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.UserCreationDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
]
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.UserController",
"Method": "UserList",
"RelativePath": "api/user/UserList",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": []
},
{
"ContainingType": "ZhiYi.Core.Api.Controllers.SharedController",
"Method": "UseShared",
"RelativePath": "api/UseShared",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "input",
"Type": "ZhiYi.Core.Application.Dtos.Shared.UseSharedCodeDto",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
}
]
}
]