-
Notifications
You must be signed in to change notification settings - Fork 7
Web Service API
Returns information about the person including name, description, created_at, identity_url
URL: http://demo.opensourcecurrency.org/people/%{color:red}person_id%
Formats: xml, json
Method: GET
Parameters:
- person_id. Required. The numerical id of the person you are trying to retrieve.
Return the person’s earned credits sorted by most recent. Fields in each record include amount, customer_id, created_at, req_id. A new exchange (payment) can be created with a POST and the amount must be specified in the body.
URL: http://demo.opensoucecurrency.org/people/%{color:red}person_id%/exchanges
Formats: xml, json
Method: GET, POST
Parameters:
- person_id. Required. The numerical id of the person you are trying to retrieve (or the person you are paying if this is a POST)
Returns information about the request including name, description, due_date, estimated_hours, person_id, active (boolean), created_at
URL: http://demo.opensoucecurrency.org/reqs/%{color:red}req_id%
Formats: xml, json
Method: GET
Parameters:
- req_id. Required. The numerical id of the request you are trying to retrieve.