Bug 1025792 — Handle API Versionning.

https://bugzilla.mozilla.org/show_bug.cgi?id=1025792
typo: "Resource"