This commit is contained in:
@@ -80,7 +80,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <param name="ayaType"></param>
|
||||
/// <param name="tag"></param>
|
||||
/// <param name="idList"></param>
|
||||
/// <returns>Number of items affected</returns>
|
||||
/// <returns>Job Id</returns>
|
||||
[HttpPost("bulk-add/{ayaType}/{tag}")]
|
||||
public async Task<IActionResult> BulkAdd([FromRoute] AyaType ayaType, [FromRoute] string tag, [FromBody] List<long> idList)
|
||||
{
|
||||
@@ -122,7 +122,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// </summary>
|
||||
/// <param name="ayaType"></param>
|
||||
/// <param name="tag"></param>
|
||||
/// <returns>Number of items affected</returns>
|
||||
/// <returns>Job Id</returns>
|
||||
[HttpPost("bulk-add-any/{ayaType}/{tag}")]
|
||||
public async Task<IActionResult> BulkAddAny([FromRoute] AyaType ayaType, [FromRoute] string tag)
|
||||
{
|
||||
@@ -163,7 +163,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <param name="ayaType"></param>
|
||||
/// <param name="tag"></param>
|
||||
/// <param name="idList"></param>
|
||||
/// <returns>Number of items affected</returns>
|
||||
/// <returns>Job Id</returns>
|
||||
[HttpPost("bulk-remove/{ayaType}/{tag}")]
|
||||
public async Task<IActionResult> BulkRemove([FromRoute] AyaType ayaType, [FromRoute] string tag, [FromBody] List<long> idList)
|
||||
{
|
||||
@@ -206,7 +206,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// </summary>
|
||||
/// <param name="ayaType"></param>
|
||||
/// <param name="tag"></param>
|
||||
/// <returns>Number of items affected</returns>
|
||||
/// <returns>Job Id</returns>
|
||||
[HttpPost("bulk-remove-any/{ayaType}/{tag}")]
|
||||
public async Task<IActionResult> BulkRemoveAny([FromRoute] AyaType ayaType, [FromRoute] string tag)
|
||||
{
|
||||
@@ -249,7 +249,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <param name="fromTag"></param>
|
||||
/// <param name="toTag"></param>
|
||||
/// <param name="idList"></param>
|
||||
/// <returns>Number of items affected</returns>
|
||||
/// <returns>Job Id</returns>
|
||||
[HttpPost("bulk-replace/{ayaType}/{tag}")]
|
||||
public async Task<IActionResult> BulkReplace([FromRoute] AyaType ayaType, [FromRoute] string fromTag, [FromQuery] string toTag, [FromBody] List<long> idList)
|
||||
{
|
||||
@@ -295,7 +295,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <param name="ayaType"></param>
|
||||
/// <param name="fromTag"></param>
|
||||
/// <param name="toTag"></param>
|
||||
/// <returns>Number of items affected</returns>
|
||||
/// <returns>Job Id</returns>
|
||||
[HttpPost("bulk-replace-any/{ayaType}/{tag}")]
|
||||
public async Task<IActionResult> BulkReplaceAny([FromRoute] AyaType ayaType, [FromRoute] string fromTag, [FromQuery] string toTag)
|
||||
{
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// </summary>
|
||||
/// <param name="size">Valid values are "Small", "Medium", "Large", "Huge"</param>
|
||||
/// <param name="timeZoneOffset">Value in hours of local time zone offset from UTC / GMT. This ensures that data is generated relative to the desired time zone</param>
|
||||
/// <returns></returns>
|
||||
/// <returns>Job Id</returns>
|
||||
[HttpPost("seed/{size}/{timeZoneOffset}")]
|
||||
public async Task<IActionResult> SeedTrialDatabase([FromRoute] string size, [FromRoute] decimal timeZoneOffset)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user