Files
cmerkens d856e8f976 Fixes
2025-01-09 14:49:40 +01:00

161 lines
3.4 KiB
JSON

[
{
"ContainingType": "Server.Controllers.GameController",
"Method": "Get",
"RelativePath": "api/Game",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": [
{
"Type": "System.Collections.Generic.List\u00601[[Server.Models.Game, Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "Server.Controllers.GameController",
"Method": "Post",
"RelativePath": "api/Game",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "value",
"Type": "System.String",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
},
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 500
},
{
"Type": "Microsoft.AspNetCore.Mvc.ProblemDetails",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 400
}
]
},
{
"ContainingType": "Server.Controllers.GameController",
"Method": "Get",
"RelativePath": "api/Game/{id}",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "id",
"Type": "System.Int32",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "Server.Models.Game",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
},
{
"Type": "Microsoft.AspNetCore.Mvc.ProblemDetails",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 400
}
]
},
{
"ContainingType": "Server.Controllers.GameController",
"Method": "Put",
"RelativePath": "api/Game/{id}",
"HttpMethod": "PUT",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "id",
"Type": "System.Int32",
"IsRequired": true
},
{
"Name": "value",
"Type": "System.String",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
},
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 500
},
{
"Type": "Microsoft.AspNetCore.Mvc.ProblemDetails",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 400
}
]
},
{
"ContainingType": "Server.Controllers.GameController",
"Method": "Delete",
"RelativePath": "api/Game/{id}",
"HttpMethod": "DELETE",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "id",
"Type": "System.Int32",
"IsRequired": true
}
],
"ReturnTypes": [
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 200
},
{
"Type": "System.Void",
"MediaTypes": [],
"StatusCode": 500
}
]
}
]