[doc] fix acceleration history endpoint detail
This commit is contained in:
		
							parent
							
								
									5f698dfbbb
								
							
						
					
					
						commit
						be183ada0a
					
				| @ -9955,8 +9955,8 @@ export const restApiDocsData = [ | |||||||
|           headers: "api_key: stacksats", |           headers: "api_key: stacksats", | ||||||
|           response: `{
 |           response: `{
 | ||||||
|   "balance": 99900000, |   "balance": 99900000, | ||||||
|   "hold": 0, |   "hold": 101829, | ||||||
|   "feesPaid": 200000 |   "feesPaid": 133721 | ||||||
| }`,
 | }`,
 | ||||||
|         }, |         }, | ||||||
|       } |       } | ||||||
| @ -10044,15 +10044,15 @@ export const restApiDocsData = [ | |||||||
|     fragment: "history", |     fragment: "history", | ||||||
|     title: "GET Acceleration History", |     title: "GET Acceleration History", | ||||||
|     description: { |     description: { | ||||||
|       default: "<p>Return the history of previous acceleration requests.</p><p>Pass one of the following for <code>:status</code>: <code>all</code>, <code>requested</code>, <code>accelerating</code>, <code>mined</code>, <code>completed</code>, <code>failed</code>.</p>" |       default: "<p>Return the history of previous acceleration requests.</p><p>Pass one of the following for <code>:status</code>: <code>all</code>, <code>requested</code>, <code>accelerating</code>, <code>mined</code>, <code>completed</code>, <code>failed</code>.<br>Pass <code>true</code> in <code>:details</code> to get a detailed <code>history</code> of the acceleration request.</p>" | ||||||
|     }, |     }, | ||||||
|     urlString: "/v1/services/accelerator/history?status=:status", |     urlString: "/v1/services/accelerator/history?status=:status&details=:details", | ||||||
|     showConditions: [""], |     showConditions: [""], | ||||||
|     showJsExamples: showJsExamplesDefaultFalse, |     showJsExamples: showJsExamplesDefaultFalse, | ||||||
|     codeExample: { |     codeExample: { | ||||||
|       default: { |       default: { | ||||||
|         codeTemplate: { |         codeTemplate: { | ||||||
|           curl: `/api/v1/services/accelerator/history?status=all`, |           curl: `/api/v1/services/accelerator/history?status=all&details=true`, | ||||||
|           commonJS: ``, |           commonJS: ``, | ||||||
|           esModule: `` |           esModule: `` | ||||||
|         }, |         }, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user