Modified API returned data format to ditch use of GenericResponse wrapper

This commit is contained in:
Carl Tibule
2023-02-08 18:56:06 -06:00
parent 7e48e097c0
commit 0413abf587
11 changed files with 114 additions and 126 deletions

View File

@ -0,0 +1,17 @@
using YABA.API.ViewModels.Tags;
namespace YABA.API.ViewModels.Bookmarks
{
public class BookmarkResponse
{
public int Id { get; set; }
public DateTimeOffset CreatedOn { get; set; }
public DateTimeOffset LastModified { get; set; }
public string Title { get; set; }
public string? Description { get; set; }
public string? Note { get; set; }
public bool IsHidden { get; set; }
public string Url { get; set; }
public IEnumerable<TagResponse> Tags { get; set; }
}
}