This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 456
Provide API endpoint for transactions of an account - Closes #1892 #1920
Merged
MaciejBaj
merged 12 commits into
1.0.0-beta.7
from
1892-api_endpoint_for_all_tx_of_an_account
Apr 25, 2018
Merged
Changes from 4 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
5e7d62d
:seedling: Add additional filter to api/transactions
Tschakki f41418e
Change param name to senderIdOrRecipientId
Tschakki 5931c44
Add senderIdOrRecipientId to swagger
Tschakki e22c2fd
Add senderIdOrRecipientId property
Tschakki 04eccfc
Add missing quotes, remove wrong properties
Tschakki 4e14157
Fix indents
Tschakki 9c287d5
Fix params in query
Tschakki 94eeb83
Add description for new new param
Tschakki cb8f94b
:white_check_mark: Add functional tests for senderIdOrRecipientId
Tschakki 98e6324
Remove csv formatting for senderIdOrRecipientId
Tschakki b5cd640
Add test for invalid senderIdOrRecipientId, remove unnecessary test
Tschakki 3baca6c
Make filter expect only single address each query
Tschakki File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -859,6 +859,7 @@ paths: | |
- $ref: '#/parameters/recipientPublicKey' | ||
- $ref: '#/parameters/senderId' | ||
- $ref: '#/parameters/senderPublicKey' | ||
- $ref: '#/parameters/senderIdOrRecipientId' | ||
- $ref: '#/parameters/transactionType' | ||
- $ref: '#/parameters/height' | ||
- $ref: '#/parameters/minAmount' | ||
|
@@ -1086,6 +1087,14 @@ parameters: | |
type: string | ||
format: publicKey | ||
minLength: 1 | ||
senderIdOrRecipientId: | ||
name: senderIdOrRecipientId | ||
in: query | ||
description: Sender or Recipient address to query | ||
type: string | ||
format: address | ||
minLength: 1 | ||
maxLength: 22 | ||
transactionType: | ||
name: type | ||
in: query | ||
|
@@ -1167,6 +1176,10 @@ definitions: | |
type: string | ||
format: address | ||
example: 12668885769632475474L | ||
senderIdOrRecipientId: | ||
type: string | ||
format: address | ||
example: 12668885769632475474L | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Tschakki |
||
signature: | ||
type: string | ||
format: signature | ||
|
@@ -1615,6 +1628,10 @@ definitions: | |
type: string | ||
format: publicKey | ||
example: 2ca9a7143fc721fdc540fef893b27e8d648d2288efa61e56264edf01a2c23079 | ||
senderIdOrRecipientId: | ||
type: string | ||
format: address | ||
example: 12668885769632475474L | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Tschakki |
||
signature: | ||
type: string | ||
format: signature | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to be missing double quote in the beginning of
t_senderId
andt_recipientId