Commit 47234984 authored by cann-alberto's avatar cann-alberto
Browse files

Added support to Persona: download of the 3dmodel, handling registration, data...

Added support to Persona: download of the 3dmodel, handling registration, data structure related to persona updated during the registration
parent 7d39f396
{"BodyType":"fullbody","OutfitGender":2,"UpdatedAt":"2024-11-27T18:09:16.035Z","SkinTone":"#bd745a"}
\ No newline at end of file
{"BodyType":"fullbody","OutfitGender":1,"UpdatedAt":"2024-11-27T16:29:06.037Z","SkinTone":"#b7785e"}
\ No newline at end of file
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
"ProfilesCollectionName": "PersonalProfiles", "ProfilesCollectionName": "PersonalProfiles",
"UsersCollectionName": "Users", "UsersCollectionName": "Users",
"DevicesCollectionName": "Devices", "DevicesCollectionName": "Devices",
"PersonaeCollectionName": "Personae" "PersonaeCollectionName": "Personae",
"AccountsCollectionName": "Accounts"
}, },
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
......
[ [
{
"ContainingType": "MMM_Server.Controllers.ActivityController",
"Method": "Get",
"RelativePath": "api/Activity/profiles",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [],
"ReturnTypes": [
{
"Type": "System.Collections.Generic.List\u00601[[MMM_Server.Models.User, MMM-Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]",
"MediaTypes": [
"text/plain",
"application/json",
"text/json"
],
"StatusCode": 200
}
]
},
{
"ContainingType": "MMM_Server.Controllers.RegistrationController",
"Method": "Post",
"RelativePath": "api/Registration/accounts",
"HttpMethod": "POST",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "newAccount",
"Type": "MMM_Server.Models.Account",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "MMM_Server.Controllers.RegistrationController",
"Method": "UpdatePersonaForAccount",
"RelativePath": "api/Registration/accounts/{accountId}/persona",
"HttpMethod": "PUT",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "accountId",
"Type": "System.String",
"IsRequired": true
},
{
"Name": "updatedPersona",
"Type": "MMM_Server.Models.Persona",
"IsRequired": true
}
],
"ReturnTypes": []
},
{
"ContainingType": "MMM_Server.Controllers.RegistrationController",
"Method": "GetAvatar",
"RelativePath": "api/Registration/avatars/{name}",
"HttpMethod": "GET",
"IsController": true,
"Order": 0,
"Parameters": [
{
"Name": "name",
"Type": "System.String",
"IsRequired": true
},
{
"Name": "format",
"Type": "System.String",
"IsRequired": false
}
],
"ReturnTypes": []
},
{ {
"ContainingType": "MMM_Server.Controllers.RegistrationController", "ContainingType": "MMM_Server.Controllers.RegistrationController",
"Method": "Post", "Method": "Post",
......
...@@ -14,7 +14,7 @@ using System.Reflection; ...@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("MMM-Server")] [assembly: System.Reflection.AssemblyCompanyAttribute("MMM-Server")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5d5e1b29d5aafa3c83f4c45acc6385b8eaeec036")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7d39f396f7a56aa015b4058945a22fbbdf4b6879")]
[assembly: System.Reflection.AssemblyProductAttribute("MMM-Server")] [assembly: System.Reflection.AssemblyProductAttribute("MMM-Server")]
[assembly: System.Reflection.AssemblyTitleAttribute("MMM-Server")] [assembly: System.Reflection.AssemblyTitleAttribute("MMM-Server")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
......
312559ad4f905b2d902421072d85980d1b9033da444e5ee16d564f41e8d25c4b 87dfcd4c736708e0af7ccf9eaa39687ee70600d817e6235f95773b611a67eb96
aa811ef7ce8ed7c4d62f9a804aa4cc250ac1e503e22063603dfe895f46dd5647 10f33e470d9ee2b87781ff79328c671d3f3456a1ad81e2eb1fe8e5f7404204c0
...@@ -44,3 +44,5 @@ C:\Users\lab2a\Documents\Visual Studio 2022\Projects\MPAI-MMM\MMM-Server\MMM-Ser ...@@ -44,3 +44,5 @@ C:\Users\lab2a\Documents\Visual Studio 2022\Projects\MPAI-MMM\MMM-Server\MMM-Ser
C:\Users\lab2a\Documents\Visual Studio 2022\Projects\MPAI-MMM\MMM-Server\MMM-Server\MMM-Server\bin\Debug\net8.0\runtimes\linux\native\libmongocrypt.so C:\Users\lab2a\Documents\Visual Studio 2022\Projects\MPAI-MMM\MMM-Server\MMM-Server\MMM-Server\bin\Debug\net8.0\runtimes\linux\native\libmongocrypt.so
C:\Users\lab2a\Documents\Visual Studio 2022\Projects\MPAI-MMM\MMM-Server\MMM-Server\MMM-Server\bin\Debug\net8.0\runtimes\osx\native\libmongocrypt.dylib C:\Users\lab2a\Documents\Visual Studio 2022\Projects\MPAI-MMM\MMM-Server\MMM-Server\MMM-Server\bin\Debug\net8.0\runtimes\osx\native\libmongocrypt.dylib
C:\Users\lab2a\Documents\Visual Studio 2022\Projects\MPAI-MMM\MMM-Server\MMM-Server\MMM-Server\bin\Debug\net8.0\runtimes\win\native\mongocrypt.dll C:\Users\lab2a\Documents\Visual Studio 2022\Projects\MPAI-MMM\MMM-Server\MMM-Server\MMM-Server\bin\Debug\net8.0\runtimes\win\native\mongocrypt.dll
C:\Users\lab2a\Documents\Visual Studio 2022\Projects\MPAI-MMM\MMM-Server\MMM-Server\MMM-Server\bin\Debug\net8.0\Resources\Personae\Male.json
C:\Users\lab2a\Documents\Visual Studio 2022\Projects\MPAI-MMM\MMM-Server\MMM-Server\MMM-Server\bin\Debug\net8.0\Resources\Personae\Female.json
{"documents":{"C:\\Users\\lab2a\\Documents\\Visual Studio 2022\\Projects\\MPAI-MMM\\MMM-Server\\*":"https://raw.githubusercontent.com/cann-alberto/MPAI-MMM/c4e1e131fa49353715911b0a6cc386593ad8590f/*"}} {"documents":{"C:\\Users\\lab2a\\Documents\\Visual Studio 2022\\Projects\\MPAI-MMM\\MMM-Server\\*":"https://raw.githubusercontent.com/cann-alberto/MPAI-MMM/7d39f396f7a56aa015b4058945a22fbbdf4b6879/*"}}
\ No newline at end of file \ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment