Blazor Diffusion

<back to all web services

GetAlbumRefs

Albums
namespace BlazorDiffusion.ServiceModel

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type AlbumRef() = 
        member val RefId:String = null with get,set
        member val OwnerId:Int32 = new Int32() with get,set
        member val Name:String = null with get,set
        member val Slug:String = null with get,set
        member val Description:String = null with get,set
        member val Tags:ResizeArray<String> = null with get,set
        member val PrimaryArtifactRef:String = null with get,set
        member val ArtifactsCount:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type GetAlbumRefsResponse() = 
        member val Results:ResizeArray<AlbumRef> = null with get,set

    [<AllowNullLiteral>]
    type GetAlbumRefs() = 
        class end

F# GetAlbumRefs DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsonl/reply/GetAlbumRefs HTTP/1.1 
Host: blazordiffusion.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"results":[{"refId":"String","ownerId":0,"name":"String","slug":"String","description":"String","tags":["String"],"primaryArtifactRef":"String","artifactsCount":0}]}