Skip to content

Commit

Permalink
Merge pull request #18 from ghost/update-obsolete-informations
Browse files Browse the repository at this point in the history
updating one dead bitsquare link
  • Loading branch information
wiz authored Feb 19, 2020
2 parents ab18d55 + b1d1b74 commit bb7accb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# bitsquare_market APIs
# Bisq_market APIs

These APIs are open to the public with no authorization required.

Expand Down
6 changes: 3 additions & 3 deletions api/offers/apidoc.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static function get_examples() {

static function get_notes() {
// Note: these are found at:
// https://github.com/bitsquare/bitsquare/blob/master/core/src/main/java/io/bitsquare/payment/PaymentMethod.java
// https://github.com/bisq-network/bisq/blob/master/core/src/main/java/bisq/core/payment/payload/PaymentMethod.java
$payment_methods = [
"OK_PAY",
"PERFECT_MONEY",
Expand All @@ -104,7 +104,7 @@ static function get_notes() {
];

return ['payment_method in response will be one of: ' . implode( ', ', $payment_methods ),
'payment_method values are defined in this file: https://github.com/bitsquare/bitsquare/blob/master/core/src/main/java/io/bitsquare/payment/PaymentMethod.java',
'payment_method values are defined in this file: https://github.com/bisq-network/bisq/blob/master/core/src/main/java/bisq/core/payment/payload/PaymentMethod.java',
'offer_fee_txid in response is the offer fee transaction ID in the bitcoin block chain',
'offer_date in response is provided in milliseconds since 1970, not seconds. To get seconds, divide by 1000',
];
Expand All @@ -113,4 +113,4 @@ static function get_notes() {
static function get_seealso() {
return ['depth'];
}
}
}
4 changes: 2 additions & 2 deletions api/trades/apidoc.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ static function get_notes() {
'this api will return a maximum of 2000 trades per call',
'if trade_id_from or trade_id_to is used and a matching trade is not found for each, then no results are returned',
'The Bisq app does not presently use a trade_id internally. The trade_id in this api is actually the bisq offerId.',
'Possible values for payment_method can change over time. For most current, see [PaymentMethod.java](https://raw.githubusercontent.com/bisq-network/bisq-core/master/src/main/java/bisq/core/payment/payload/PaymentMethod.java)',
'Possible values for payment_method can change over time. For most current, see [PaymentMethod.java](https://github.com/bisq-network/bisq/blob/master/core/src/main/java/bisq/core/payment/payload/PaymentMethod.java)',
];
}

static function get_seealso() {
return [];
}
}
}

0 comments on commit bb7accb

Please sign in to comment.