From be183ada0a950ebf129bd5db1dcfdda8d82c297a Mon Sep 17 00:00:00 2001 From: nymkappa <1612910616@pm.me> Date: Sat, 10 Feb 2024 10:56:19 +0100 Subject: [PATCH] [doc] fix acceleration history endpoint detail --- frontend/src/app/docs/api-docs/api-docs-data.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 a0d292925..d2cfc0926 100644 --- a/frontend/src/app/docs/api-docs/api-docs-data.ts +++ b/frontend/src/app/docs/api-docs/api-docs-data.ts @@ -9955,8 +9955,8 @@ export const restApiDocsData = [ headers: "api_key: stacksats", response: `{ "balance": 99900000, - "hold": 0, - "feesPaid": 200000 + "hold": 101829, + "feesPaid": 133721 }`, }, } @@ -10044,15 +10044,15 @@ export const restApiDocsData = [ fragment: "history", title: "GET Acceleration History", description: { - default: "

Return the history of previous acceleration requests.

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

" + default: "

Return the history of previous acceleration requests.

Pass one of the following for :status: all, requested, accelerating, mined, completed, failed.
Pass true in :details to get a detailed history of the acceleration request.

" }, - urlString: "/v1/services/accelerator/history?status=:status", + urlString: "/v1/services/accelerator/history?status=:status&details=:details", showConditions: [""], showJsExamples: showJsExamplesDefaultFalse, codeExample: { default: { codeTemplate: { - curl: `/api/v1/services/accelerator/history?status=all`, + curl: `/api/v1/services/accelerator/history?status=all&details=true`, commonJS: ``, esModule: `` },