Skip to content

Commit

Permalink
stellar#4433: updated the api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Jul 8, 2022
1 parent ae5f81d commit 8f370af
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions exp/lighthorizon/actions/static/api_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ servers:
paths:
/accounts/{account_id}/operations:
get:
operationId: getOperationsByAccountId
operationId: GetOperationsByAccountId
parameters:
- $ref: '#/components/parameters/CursorParam'
- $ref: '#/components/parameters/LimitParam'
- $ref: '#/components/parameters/AccountIDParam'
required: true
responses:
'200':
description: OK
Expand Down Expand Up @@ -57,17 +56,15 @@ paths:
selling_asset_issuer: GAXXMQMTDUQ4YEPXJMKFBGN3GETPJNEXEUHFCQJKGJDVI3XQCNBU3OZI
offer_id: '425531'
summary: Get Operations by Account ID and Paged list
operationId: GetOperationsByAccountID
description: Get Operations by Account ID and Paged list
tags: []
/accounts/{account_id}/transactions:
get:
operationId: getTransactionsByAccountId
operationId: GetTransactionsByAccountId
parameters:
- $ref: '#/components/parameters/CursorParam'
- $ref: '#/components/parameters/LimitParam'
- $ref: '#/components/parameters/AccountIDParam'
required: true
responses:
'200':
description: OK
Expand Down Expand Up @@ -110,7 +107,6 @@ paths:
signatures:
- pIZMxQAAAEDNJwYToiBR6bzElRL4ORJdXXZYO9cE3-ishQLC_fWGrPGhWrW7_UkPJWvxWdQDJBjVOHuA1Jjc94NSe91hSwEL
summary: Get Transactions by Account ID and Paged list
operationId: GetTransactionsByAccountID
description: Get Transactions by Account ID and Paged list
tags: []
/transactions:
Expand Down Expand Up @@ -163,8 +159,6 @@ paths:
parameters:
- $ref: '#/components/parameters/CursorParam'
- $ref: '#/components/parameters/LimitParam'
- $ref: '#/components/parameters/TransactionIDParam'
required: false
/operations:
get:
responses:
Expand Down Expand Up @@ -236,17 +230,15 @@ components:
AccountIDParam:
name: account_id
in: path
description: Account ID
required: false
required: true
description: The strkey encoded Account ID
schema:
type: string
example: GDMQQNJM4UL7QIA66P7R2PZHMQINWZBM77BEBMHLFXD5JEUAHGJ7R4JZ
TransactionIDParam:
name: tx_id
in: path
description: Transaction ID
required: false
required: true
description: The Transaction hash, it's id.
schema:
type: string
Expand Down

0 comments on commit 8f370af

Please sign in to comment.