GET /v1/auto/suggest/{offchainAsset}
Changed onGet suggestion for the swaps.
Request
- Base URLhttps://api.server.test/v1
- Authnone declared
Path parameters
off-chain asset which autoloop manager will take care. default is BTC.
Response
OK
Example response
{
"loop_out": [
{
"channel_ids": [
"140x10x1"
],
"pair_id": "BTC/LTC",
"address": "bc1q2y7lfmmm7xhv2dpf0n0mx6w26zspmvszm3hvkc4yn785xp8dvs5shejlc5"
}
],
"loop_in": [
{
"last_hop": "03afbba930dc74d6412b71c31f72bfb8d4615121174dd4290cbbf83960961ba9ab",
"channel_id": "140x10x1",
"pair_id": "BTC/LTC"
}
],
"disqualified": [
{
"channel_id": "140x10x1",
"pubkey": "03afbba930dc74d6412b71c31f72bfb8d4615121174dd4290cbbf83960961ba9ab"
}
]
}Changes
- breaking
added
subschema #3to the//response propertyoneOflist for the response status - breaking
added
subschema #3to the//////response propertyoneOflist for the response status - breaking
added
subschema #3to the///response propertyoneOflist for the response status - info
the
pathrequest parameteroffchainAssetbecame optional
- breaking
- breaking
the
//response property's maxLength was unset from33for the response status - breaking
the
//response property's minLength was decreased from33to0for the response status - breaking
added to the
//response propertyoneOflist for the response status - breaking
added to the
//response propertyoneOflist for the response status - breaking
added to the
//response propertyoneOflist for the response status - breaking
added to the
//response propertyoneOflist for the response status - breaking
added to the
//response propertyoneOflist for the response status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - info
removed from the
//response propertyoneOflist for the response status - info
removed
subschema #1subschema #2from the//response propertyoneOflist for the response status
- breaking