GET | /voss/presetBehaviour | get preset behaviours from voss |
---|
import 'package:servicestack/servicestack.dart';
// @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)
class GetPresetBehaviour implements IConvertible
{
GetPresetBehaviour();
GetPresetBehaviour.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "GetPresetBehaviour";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: <String, TypeInfo> {
'GetPresetBehaviour': TypeInfo(TypeOf.Class, create:() => GetPresetBehaviour()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /voss/presetBehaviour HTTP/1.1 Host: testapi.bokamera.se Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {}