This commit is contained in:
@@ -1,23 +1,29 @@
|
|||||||
PRIORITY - ALWAYS Lowest level stuff first
|
PRIORITY - ALWAYS Lowest level stuff first
|
||||||
=-=-=-=-
|
=-=-=-=-
|
||||||
|
|
||||||
MASS TAG OPS
|
BULK TAG OPS
|
||||||
NOTE: separate routes for seperate things just to avoid issues, i.e. dont' conflate two different functions in same route
|
NOTE: separate routes for seperate things just to avoid issues, i.e. dont' conflate two different functions in same route
|
||||||
i.e. search and replace, not search and remove
|
i.e. search and replace, not search and remove
|
||||||
NOTE: no mass tag op route will work with every object in order for safety, there arent' *that* many objects so safer to have people pick them from a list and if they want they can manually check all types
|
NOTE: no bulk tag op route will work with every object in order for safety, there arent' *that* many objects so safer to have people pick them from a list and if they want they can manually check all types
|
||||||
note: they can use a datalist to select so no need to add any filtering ability here
|
note: they can use a datalist to select so no need to add any filtering ability here
|
||||||
|
|
||||||
todo: SET TAGS ability to mass tag items from list (SERVER AND CLIENT)
|
todo: SET TAGS ability to bulk tag items from list (SERVER AND CLIENT)
|
||||||
route: mass tag by type and id collection
|
route: bulk tag by type and id collection
|
||||||
route: mass tag by type and all objects no id specified
|
parameters=Type, [id], tag
|
||||||
|
route: bulk tag by type and all objects no id specified
|
||||||
|
parameters=Type, tag
|
||||||
|
|
||||||
todo: REPLACE TAGS
|
todo: REPLACE TAGS
|
||||||
route: mass replace one tag with another tag by type and id collection
|
route: bulk replace one tag with another tag by type and id collection
|
||||||
route: mass repalce one tag with another tag by type and all objects no collection
|
parameters=Type, [id], oldTag, newTag
|
||||||
|
route: bulk repalce one tag with another tag by type and all objects no collection
|
||||||
|
parameters=Type, [id], oldTag, newTag
|
||||||
|
|
||||||
todo: REMOVE TAGS
|
todo: REMOVE TAGS
|
||||||
route: mass remove specified tag by type and id collection
|
route: bulk remove specified tag by type and id collection
|
||||||
route: mass remove tag by type and all objects no id specified
|
parameters=Type, [id], tag
|
||||||
|
route: bulk remove tag by type and all objects no id specified
|
||||||
|
parameters=Type, tag
|
||||||
|
|
||||||
todo: API root controller
|
todo: API root controller
|
||||||
build mode and server info should be authorized shoudln't they? Unauthorized people have no need to see that stuff
|
build mode and server info should be authorized shoudln't they? Unauthorized people have no need to see that stuff
|
||||||
|
|||||||
@@ -50,12 +50,9 @@ namespace AyaNova.Api.Controllers
|
|||||||
{
|
{
|
||||||
if (serverState.IsClosed)
|
if (serverState.IsClosed)
|
||||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||||
|
|
||||||
return Ok(ApiOkResponse.Response(await TagUtil.TagListFilteredAsync(ct, query), true));
|
return Ok(ApiOkResponse.Response(await TagUtil.TagListFilteredAsync(ct, query), true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get tag cloud list
|
/// Get tag cloud list
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -66,7 +63,6 @@ namespace AyaNova.Api.Controllers
|
|||||||
{
|
{
|
||||||
if (serverState.IsClosed)
|
if (serverState.IsClosed)
|
||||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||||
|
|
||||||
return Ok(ApiOkResponse.Response(await TagUtil.CloudListFilteredAsync(ct, query), true));
|
return Ok(ApiOkResponse.Response(await TagUtil.CloudListFilteredAsync(ct, query), true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user