Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update admin protos #749

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions api-spec/openapi/swagger/tdex-daemon/v2/feeder.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"application/json"
],
"paths": {
"/v2/feeder": {
"/v2/admin/feeder": {
"post": {
"summary": "AddPriceFeed creates a new price feed for the given market.",
"operationId": "FeederService_AddPriceFeed",
Expand Down Expand Up @@ -49,7 +49,7 @@
]
}
},
"/v2/feeder/drop": {
"/v2/admin/feeder/drop": {
"post": {
"summary": "RemovePriceFeed removes the price feed with the given id.",
"operationId": "FeederService_RemovePriceFeed",
Expand Down Expand Up @@ -82,7 +82,7 @@
]
}
},
"/v2/feeder/sources": {
"/v2/admin/feeder/sources": {
"get": {
"summary": "ListSupportedPriceSources returns the list of supported price sources.",
"operationId": "FeederService_ListSupportedPriceSources",
Expand All @@ -105,7 +105,7 @@
]
}
},
"/v2/feeder/start": {
"/v2/admin/feeder/start": {
"post": {
"summary": "StartPriceFeed starts the price feed with the given id.",
"operationId": "FeederService_StartPriceFeed",
Expand Down Expand Up @@ -138,7 +138,7 @@
]
}
},
"/v2/feeder/stop": {
"/v2/admin/feeder/stop": {
"post": {
"summary": "StopPriceFeed stops the price feed with the given id.",
"operationId": "FeederService_StopPriceFeed",
Expand Down Expand Up @@ -171,7 +171,7 @@
]
}
},
"/v2/feeder/update": {
"/v2/admin/feeder/update": {
"post": {
"summary": "UpdatePriceFeed allows to change source and/or ticker of the given price feed.",
"operationId": "FeederService_UpdatePriceFeed",
Expand Down Expand Up @@ -204,7 +204,7 @@
]
}
},
"/v2/feeder/{id}": {
"/v2/admin/feeder/{id}": {
"get": {
"summary": "GetPriceFeed returns the price feed for the given market.",
"operationId": "FeederService_GetPriceFeed",
Expand Down Expand Up @@ -236,7 +236,7 @@
]
}
},
"/v2/feeders": {
"/v2/admin/feeders": {
"get": {
"summary": "ListPriceFeeds returns the list of price feeds of all markets.",
"operationId": "FeederService_ListPriceFeeds",
Expand Down
66 changes: 33 additions & 33 deletions api-spec/openapi/swagger/tdex-daemon/v2/operator.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"application/json"
],
"paths": {
"/v2/deposits": {
"/v2/admin/deposits": {
"post": {
"summary": "Returns the list of all claimed deposits for the given account.",
"operationId": "OperatorService_ListDeposits",
Expand Down Expand Up @@ -49,7 +49,7 @@
]
}
},
"/v2/fee/addresses": {
"/v2/admin/fee/addresses": {
"get": {
"summary": "Returns the list of all derived addresses for the fee account.",
"operationId": "OperatorService_ListFeeAddresses",
Expand All @@ -72,7 +72,7 @@
]
}
},
"/v2/fee/balance": {
"/v2/admin/fee/balance": {
"get": {
"summary": "Returns the LBTC balance of the fee account.",
"operationId": "OperatorService_GetFeeBalance",
Expand All @@ -95,7 +95,7 @@
]
}
},
"/v2/fee/derive": {
"/v2/admin/fee/derive": {
"post": {
"summary": "Derives new addresses from the fee account.\nThis account is only used to deposit LBTC funds to subsidize network fees.",
"operationId": "OperatorService_DeriveFeeAddresses",
Expand Down Expand Up @@ -128,7 +128,7 @@
]
}
},
"/v2/fee/withdraw": {
"/v2/admin/fee/withdraw": {
"post": {
"summary": "Withdraws LBTC funds from the fee account.",
"operationId": "OperatorService_WithdrawFee",
Expand Down Expand Up @@ -161,7 +161,7 @@
]
}
},
"/v2/feefragmenter/addresses": {
"/v2/admin/feefragmenter/addresses": {
"get": {
"summary": "Returns the list of all derived addresses for the fee fragmenter account.",
"operationId": "OperatorService_ListFeeFragmenterAddresses",
Expand All @@ -184,7 +184,7 @@
]
}
},
"/v2/feefragmenter/balance": {
"/v2/admin/feefragmenter/balance": {
"get": {
"summary": "Returns the balance of the fee fragmenter account.",
"operationId": "OperatorService_GetFeeFragmenterBalance",
Expand All @@ -207,7 +207,7 @@
]
}
},
"/v2/feefragmenter/derive": {
"/v2/admin/feefragmenter/derive": {
"post": {
"summary": "Derives new addresses for the fee fragmenter account.",
"operationId": "OperatorService_DeriveFeeFragmenterAddresses",
Expand Down Expand Up @@ -240,7 +240,7 @@
]
}
},
"/v2/feefragmenter/split": {
"/v2/admin/feefragmenter/split": {
"post": {
"summary": "Splits the funds sent to the fee fragmenter account into multiple\nfragments that are then deposited to the Fee account.",
"operationId": "OperatorService_FeeFragmenterSplitFunds",
Expand Down Expand Up @@ -282,7 +282,7 @@
]
}
},
"/v2/feefragmenter/withdraw": {
"/v2/admin/feefragmenter/withdraw": {
"post": {
"summary": "Withdraws funds from the fee fragmenter account.",
"operationId": "OperatorService_WithdrawFeeFragmenter",
Expand Down Expand Up @@ -315,7 +315,7 @@
]
}
},
"/v2/market": {
"/v2/admin/market": {
"post": {
"summary": "Creates a new market and the related wallet account.",
"operationId": "OperatorService_NewMarket",
Expand Down Expand Up @@ -348,7 +348,7 @@
]
}
},
"/v2/market/addresses": {
"/v2/admin/market/addresses": {
"post": {
"summary": "Returns the list of all derived addresses for the given market.",
"operationId": "OperatorService_ListMarketAddresses",
Expand Down Expand Up @@ -381,7 +381,7 @@
]
}
},
"/v2/market/close": {
"/v2/admin/market/close": {
"post": {
"summary": "Makes the given market NOT tradabale.",
"operationId": "OperatorService_CloseMarket",
Expand Down Expand Up @@ -414,7 +414,7 @@
]
}
},
"/v2/market/derive": {
"/v2/admin/market/derive": {
"post": {
"summary": "Derives new addresses for the market.",
"operationId": "OperatorService_DeriveMarketAddresses",
Expand Down Expand Up @@ -447,7 +447,7 @@
]
}
},
"/v2/market/drop": {
"/v2/admin/market/drop": {
"post": {
"summary": "Deletes a market.",
"operationId": "OperatorService_DropMarket",
Expand Down Expand Up @@ -480,7 +480,7 @@
]
}
},
"/v2/market/fees/fixed": {
"/v2/admin/market/fees/fixed": {
"post": {
"summary": "Changes the Liquidity provider fixed fees for the given market.",
"operationId": "OperatorService_UpdateMarketFixedFee",
Expand Down Expand Up @@ -513,7 +513,7 @@
]
}
},
"/v2/market/fees/percentage": {
"/v2/admin/market/fees/percentage": {
"post": {
"summary": "Changes the Liquidity Provider percentage fee for the given market.",
"operationId": "OperatorService_UpdateMarketPercentageFee",
Expand Down Expand Up @@ -546,7 +546,7 @@
]
}
},
"/v2/market/info": {
"/v2/admin/market/info": {
"post": {
"summary": "Returns info about the given market.",
"operationId": "OperatorService_GetMarketInfo",
Expand Down Expand Up @@ -579,7 +579,7 @@
]
}
},
"/v2/market/open": {
"/v2/admin/market/open": {
"post": {
"summary": "Makes the given market tradable.",
"operationId": "OperatorService_OpenMarket",
Expand Down Expand Up @@ -612,7 +612,7 @@
]
}
},
"/v2/market/precision": {
"/v2/admin/market/precision": {
"post": {
"summary": "Changes the Liquidity provider asset(s) precision for the given market.",
"operationId": "OperatorService_UpdateMarketAssetsPrecision",
Expand Down Expand Up @@ -645,7 +645,7 @@
]
}
},
"/v2/market/price": {
"/v2/admin/market/price": {
"post": {
"summary": "Updates the price for the given market.",
"operationId": "OperatorService_UpdateMarketPrice",
Expand Down Expand Up @@ -678,7 +678,7 @@
]
}
},
"/v2/market/report": {
"/v2/admin/market/report": {
"post": {
"summary": "Returns a report with volume and collected fees for the given market in\nthe specified time range.",
"operationId": "OperatorService_GetMarketReport",
Expand Down Expand Up @@ -711,7 +711,7 @@
]
}
},
"/v2/market/strategy": {
"/v2/admin/market/strategy": {
"post": {
"summary": "Updates the current market making strategy, either using an automated\nmarket making formula or a pluggable price feed.",
"operationId": "OperatorService_UpdateMarketStrategy",
Expand Down Expand Up @@ -744,7 +744,7 @@
]
}
},
"/v2/market/withdraw": {
"/v2/admin/market/withdraw": {
"post": {
"summary": "Withdraw funds from the given market.",
"operationId": "OperatorService_WithdrawMarket",
Expand Down Expand Up @@ -777,7 +777,7 @@
]
}
},
"/v2/marketfragmenter/addresses": {
"/v2/admin/marketfragmenter/addresses": {
"get": {
"summary": "Returns the list of all derived addresses for the market fragmenter account.",
"operationId": "OperatorService_ListMarketFragmenterAddresses",
Expand All @@ -800,7 +800,7 @@
]
}
},
"/v2/marketfragmenter/balance": {
"/v2/admin/marketfragmenter/balance": {
"get": {
"summary": "Returns the balance of the market fragmenter account.",
"operationId": "OperatorService_GetMarketFragmenterBalance",
Expand All @@ -823,7 +823,7 @@
]
}
},
"/v2/marketfragmenter/derive": {
"/v2/admin/marketfragmenter/derive": {
"post": {
"summary": "Derives new addresses for the market fragmenter account.",
"operationId": "OperatorService_DeriveMarketFragmenterAddresses",
Expand Down Expand Up @@ -856,7 +856,7 @@
]
}
},
"/v2/marketfragmenter/split": {
"/v2/admin/marketfragmenter/split": {
"post": {
"summary": "Splits the funds sent to the market fragmenter account into multiple\nfragments that are then deposited to the given market.",
"operationId": "OperatorService_MarketFragmenterSplitFunds",
Expand Down Expand Up @@ -898,7 +898,7 @@
]
}
},
"/v2/marketfragmenter/withdraw": {
"/v2/admin/marketfragmenter/withdraw": {
"post": {
"summary": "Withdraws funds from the market fragmenter account.",
"operationId": "OperatorService_WithdrawMarketFragmenter",
Expand Down Expand Up @@ -931,7 +931,7 @@
]
}
},
"/v2/markets": {
"/v2/admin/markets": {
"get": {
"summary": "Get info about all markets.",
"operationId": "OperatorService_ListMarkets",
Expand All @@ -954,7 +954,7 @@
]
}
},
"/v2/trades": {
"/v2/admin/trades": {
"post": {
"summary": "Returs all the trades processed by the daemon (ongoing, completed and\nfailed/rejected) or all those filtered by market.",
"operationId": "OperatorService_ListTrades",
Expand Down Expand Up @@ -987,7 +987,7 @@
]
}
},
"/v2/utxos": {
"/v2/admin/utxos": {
"post": {
"summary": "Returns all the utxos, whether unspents, spents or locked.",
"operationId": "OperatorService_ListUtxos",
Expand Down Expand Up @@ -1020,7 +1020,7 @@
]
}
},
"/v2/withdrawals": {
"/v2/admin/withdrawals": {
"post": {
"summary": "Returns the list of all withdrawals made for the given account.",
"operationId": "OperatorService_ListWithdrawals",
Expand Down
Loading
Loading