@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Seldon External API
@base http://localhost:80
@version 0.1
@endpoints 12
@toc aggregate(2), predict(2), route(2), send-feedback(2), transform-input(2), transform-output(2)

@group aggregate
@endpoint POST /aggregate
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endpoint GET /aggregate
@required {body: map}
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endgroup

@group predict
@endpoint GET /predict
@required {json: map}
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endpoint POST /predict
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endgroup

@group route
@endpoint GET /route
@required {json: map}
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endpoint POST /route
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endgroup

@group send-feedback
@endpoint GET /send-feedback
@required {json: map}
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endpoint POST /send-feedback
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endgroup

@group transform-input
@endpoint GET /transform-input
@required {json: map}
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endpoint POST /transform-input
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endgroup

@group transform-output
@endpoint GET /transform-output
@required {json: map}
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endpoint POST /transform-output
@returns(200) {status: map{code: int(int32), info: str, reason: str, status: str}, meta: map{puid: str, tags: map, routing: map, requestPath: map, metrics: [map]}, data: map{names: [str], tensor: map{shape: [int(int32)], values: [num(double)]}, ndarry: [any], tftensor: map{dtype: str, tensor_shape: map{dim: [map], unknown_rank: bool}, version_number: int(int32), tensor_content: str(byte), half_val: [int(int32)], float_val: [num(float)], double_val: [num(double)], int_val: [int(int32)], string_val: [str(byte)], scomplex_val: [num(float)], int64_val: [str(int64)], bool_val: [bool], dcomplex_val: [num(double)], resource_handle_val: [map], variant_val: [map], uint32_val: [int(int64)], uint64_val: [str(uint64)]}}, binData: str(byte), strData: str}

@endgroup

@end
