From b2a130bb17644a700986faea30746172e638c964 Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Mon, 29 Jan 2024 11:45:14 +0100 Subject: [PATCH] [doc] fix copy, formatting and hide accelerator doc title if non official instance --- frontend/src/app/docs/api-docs/api-docs-data.ts | 10 +++++----- .../src/app/docs/api-docs/api-docs-nav.component.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/docs/api-docs/api-docs-data.ts b/frontend/src/app/docs/api-docs/api-docs-data.ts index 6b765e5c6..a0d292925 100644 --- a/frontend/src/app/docs/api-docs/api-docs-data.ts +++ b/frontend/src/app/docs/api-docs/api-docs-data.ts @@ -9888,7 +9888,7 @@ export const restApiDocsData = [ fragment: "get-deposit-history", title: "GET Deposit History", description: { - default: "

Returns a list of previous deposits made as prepayment for the accelerator service.

" + default: "

Returns a list of deposits made as prepayment for the accelerator service.

" }, urlString: "/v1/services/accelerator/deposit-history", showConditions: [""], @@ -9936,7 +9936,7 @@ export const restApiDocsData = [ fragment: "balance", title: "GET Available Balance", description: { - default: "

Return your current available balance, as well as how much funds are currently locked and much you've been charged so far.

" + default: "

Returns your currently available balance, currently locked funds, and total fees paid so far.

" }, urlString: "/v1/services/accelerator/balance", showConditions: [""], @@ -9970,7 +9970,7 @@ export const restApiDocsData = [ fragment: "estimate", title: "POST Calculate Estimated Costs", description: { - default: "

Return an estimation of the costs to accelerate a transaction.

" + default: "

Returns estimated costs to accelerate a transaction.

" }, urlString: "/v1/services/accelerator/estimate", showConditions: [""], @@ -10044,9 +10044,9 @@ export const restApiDocsData = [ fragment: "history", title: "GET Acceleration History", description: { - default: "

Return the history of previous acceleration requests.

" + default: "

Return the history of previous acceleration requests.

Pass one of the following for :status: all, requested, accelerating, mined, completed, failed.

" }, - urlString: "/v1/services/accelerator/history[?status=all|requested|accelerating|mined|completed|failed]", + urlString: "/v1/services/accelerator/history?status=:status", showConditions: [""], showJsExamples: showJsExamplesDefaultFalse, codeExample: { diff --git a/frontend/src/app/docs/api-docs/api-docs-nav.component.html b/frontend/src/app/docs/api-docs/api-docs-nav.component.html index ec1cde38f..96622c424 100644 --- a/frontend/src/app/docs/api-docs/api-docs-nav.component.html +++ b/frontend/src/app/docs/api-docs/api-docs-nav.component.html @@ -1,4 +1,4 @@
-

{{ item.title }}

+

{{ item.title }}

{{ item.title }}