project.timer.reset

This method resets a timer to zero. A project id is needed for SUBERNOVA to know which timer to reset.

The project id can be retrieved from project.get method.

The timer will be reset (and stopped if it's currently running) irregardless of whether the timer is running.

Call this method via the following URL:

https://app.subernova.com/api/1.0/project.timer.reset

Parameters

These are the parameters you can pass with the call:

api_key
Your API key for authentication. This can be found in your account settings.
id
This is the id of the project your timer is attached to.

Response

Success

This short message will be returned if timer is successfully reset.

Success: Timer has been reset.

Error (no data passed)

This short message will be returned if no data were passed with the call.

Error: No data were passed.

Error (timer not reset)

This short message may be returned if SUBERNOVA's server is down or for some reason the timer cannot be reset, which is pretty rare.

Error: Timer has not been reset.

Error (invalid API key)

This short message will be returned if the API key passed with the call is invalid.

Error: API key is invalid.

Error (account expired)

This short message will be returned if your account has expired.

Error: Account expired.

Help

If you have any questions regarding our API or found a bug, please send us a support request.