2015-06-05 11:06:36 +02:00
|
|
|
'use strict';
|
|
|
|
|
2015-05-29 01:54:56 +02:00
|
|
|
import AppConstants from './application_constants';
|
|
|
|
|
|
|
|
let apiUrls = {
|
2015-06-05 11:06:36 +02:00
|
|
|
'ownership_shares_mail': AppConstants.baseUrl + 'ownership/shares/mail/',
|
|
|
|
'ownership_transfers': AppConstants.baseUrl + 'ownership/transfers/',
|
2015-06-01 17:43:38 +02:00
|
|
|
'user': AppConstants.baseUrl + 'users/',
|
2015-06-01 14:22:04 +02:00
|
|
|
'pieces_list': AppConstants.baseUrl + 'pieces/',
|
2015-06-01 17:43:38 +02:00
|
|
|
'piece': AppConstants.baseUrl + 'pieces/${piece_id}',
|
|
|
|
'edition': AppConstants.baseUrl + 'editions/${bitcoin_id}/',
|
2015-06-02 17:32:38 +02:00
|
|
|
'editions_list': AppConstants.baseUrl + 'pieces/${piece_id}/editions/',
|
2015-06-05 11:06:36 +02:00
|
|
|
'ownership_loans': AppConstants.baseUrl + 'ownership/loans/',
|
|
|
|
'ownership_consigns': AppConstants.baseUrl + 'ownership/consigns/',
|
|
|
|
'ownership_unconsigns': AppConstants.baseUrl + 'ownership/unconsigns/',
|
|
|
|
'ownership_unconsigns_request': AppConstants.baseUrl + 'ownership/unconsigns/request/'
|
2015-05-29 01:54:56 +02:00
|
|
|
};
|
|
|
|
|
2015-06-01 14:22:04 +02:00
|
|
|
export default apiUrls;
|