Expose code snippet parameter hash as separate api endpoint

so that we can edit and construct the tag elsewhere
neat.