GET | /images |
---|
import 'package:servicestack/servicestack.dart';
class GetImageRequest implements IConvertible
{
String? Id;
GetImageRequest({this.Id});
GetImageRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Id = json['Id'];
return this;
}
Map<String, dynamic> toJson() => {
'Id': Id
};
getTypeName() => "GetImageRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: <String, TypeInfo> {
'GetImageRequest': TypeInfo(TypeOf.Class, create:() => GetImageRequest()),
});
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 /images HTTP/1.1 Host: api.bokamera.se Accept: text/jsonl