add optional param "version" to gists/get