Get campaign list
This commit is contained in:
parent
a13fb49942
commit
53bfb770ea
6 changed files with 145 additions and 2 deletions
|
@ -55,7 +55,7 @@ namespace Sledgemapper
|
|||
Task<AuthResult> Register([Body] RegisterModel registerModel);
|
||||
|
||||
[Headers("Authorization")]
|
||||
[Post("/authmanagement/authenticate")]
|
||||
[Post("/authmanagement/login")]
|
||||
Task<AuthenticateResponse> Authenticate([Body] AuthenticateModel registerModel);
|
||||
|
||||
[Post("/session/{sessionName}/room")]
|
||||
|
@ -66,5 +66,8 @@ namespace Sledgemapper
|
|||
|
||||
[Post("/campaign/{campaignName}")]
|
||||
Task NewCampaign(string campaignName);
|
||||
|
||||
[Get("/campaign/")]
|
||||
Task<List<Campaign>> GetCampaigns();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue