When this extend_project method is called, it returns all the same price quotes and payment address info that request_project returns, but instead of generating a new project_id and api_key, it returns the same ones that were passed to it. We'll have to take care to have it handle both possible states the project might be in at the time it's called: active or inactive. (It should return an error if it's called for a project in the pending state.)
curl http:///xrs/projects/ \
-X POST \
-H "Content-Type: application/json" \
-H "Api-Key: "
-d '{"id": 1, "method": "extend_project", "params": []}'
When this
extend_project
method is called, it returns all the same price quotes and payment address info thatrequest_project
returns, but instead of generating a newproject_id
andapi_key
, it returns the same ones that were passed to it. We'll have to take care to have it handle both possible states the project might be in at the time it's called:active
orinactive
. (It should return an error if it's called for a project in thepending
state.)