From 34cc4eee9d35b5afa3116292a4f38f1703d42cae Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Fri, 8 Mar 2013 16:06:02 -0500 Subject: more updates for api docs --- MediaBrowser.Api/Images/ImageService.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'MediaBrowser.Api/Images/ImageService.cs') diff --git a/MediaBrowser.Api/Images/ImageService.cs b/MediaBrowser.Api/Images/ImageService.cs index 75602f9c5..c854c47f5 100644 --- a/MediaBrowser.Api/Images/ImageService.cs +++ b/MediaBrowser.Api/Images/ImageService.cs @@ -28,6 +28,7 @@ namespace MediaBrowser.Api.Images /// Gets or sets the id. /// /// The id. + [ApiMember(Name = "Id", Description = "Item Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] public string Id { get; set; } } @@ -43,6 +44,7 @@ namespace MediaBrowser.Api.Images /// Gets or sets the name. /// /// The name. + [ApiMember(Name = "Name", Description = "Person name", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] public string Name { get; set; } } @@ -58,6 +60,7 @@ namespace MediaBrowser.Api.Images /// Gets or sets the name. /// /// The name. + [ApiMember(Name = "Name", Description = "Studio name", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] public string Name { get; set; } } @@ -73,6 +76,7 @@ namespace MediaBrowser.Api.Images /// Gets or sets the name. /// /// The name. + [ApiMember(Name = "Name", Description = "Genre name", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] public string Name { get; set; } } @@ -88,6 +92,7 @@ namespace MediaBrowser.Api.Images /// Gets or sets the year. /// /// The year. + [ApiMember(Name = "Year", Description = "Year", IsRequired = true, DataType = "int", ParameterType = "path", Verb = "GET")] public int Year { get; set; } } @@ -103,6 +108,7 @@ namespace MediaBrowser.Api.Images /// Gets or sets the id. /// /// The id. + [ApiMember(Name = "Id", Description = "User Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")] public Guid Id { get; set; } } @@ -118,6 +124,7 @@ namespace MediaBrowser.Api.Images /// Gets or sets the id. /// /// The id. + [ApiMember(Name = "Id", Description = "User Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "DELETE")] public Guid Id { get; set; } } @@ -130,6 +137,7 @@ namespace MediaBrowser.Api.Images /// Gets or sets the id. /// /// The id. + [ApiMember(Name = "Id", Description = "User Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "POST")] public Guid Id { get; set; } /// @@ -316,8 +324,7 @@ namespace MediaBrowser.Api.Images Item = item, Request = request, CropWhiteSpace = request.Type == ImageType.Logo || request.Type == ImageType.Art, - OriginalImageDateModified = originalFileImageDateModified, - ContentType = contentType + OriginalImageDateModified = originalFileImageDateModified }, contentType); } -- cgit v1.2.3