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 cad4b47bf..1f83cabc9 100644 --- a/frontend/src/app/docs/api-docs/api-docs-data.ts +++ b/frontend/src/app/docs/api-docs/api-docs-data.ts @@ -9339,7 +9339,7 @@ export const restApiDocsData = [ fragment: "accelerator-history", title: "GET Acceleration History", description: { - default: "
Returns the user's past 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.
Returns the user's past acceleration requests.
Pass one of the following for :status
(required): all
, requested
, accelerating
, mined
, completed
, failed
.
Pass true
in :details
to get a detailed history
of the acceleration request.
Sends a request to cancel an acceleration in the accelerating
status.
You can retreive eligible acceleration id
using the history endpoint GET /api/v1/services/accelerator/history?status=accelerating
."
+ },
+ urlString: "/v1/services/accelerator/cancel",
+ showConditions: [""],
+ showJsExamples: showJsExamplesDefaultFalse,
+ codeExample: {
+ default: {
+ codeTemplate: {
+ curl: `%{1}" "[[hostname]][[baseNetworkUrl]]/api/v1/services/accelerator/cancel`, //custom interpolation technique handled in replaceCurlPlaceholder()
+ commonJS: ``,
+ esModule: ``
+ },
+ codeSampleMainnet: {
+ esModule: [],
+ commonJS: [],
+ curl: ["id=42"],
+ headers: "X-Mempool-Auth: stacksats",
+ response: `HTTP/1.1 200 OK`,
+ },
+ }
+ }
+ },
];
export const faqData = [