Blazor Diffusion

<back to all web services

KamalUp

The following routes are available for this service:
All Verbs/up
import 'package:servicestack/servicestack.dart';

class KamalUpResponse implements IConvertible
{
    KamalUpResponse();
    KamalUpResponse.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "KamalUpResponse";
    TypeContext? context = _ctx;
}

class KamalUp implements IGet, IConvertible
{
    KamalUp();
    KamalUp.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "KamalUp";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'blazordiffusion.com', types: <String, TypeInfo> {
    'KamalUpResponse': TypeInfo(TypeOf.Class, create:() => KamalUpResponse()),
    'KamalUp': TypeInfo(TypeOf.Class, create:() => KamalUp()),
});

Dart KamalUp 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 /up 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

{}