Open Xion opened 6 years ago
In the API (https://github.com/prasmussen/glot-snippets/blob/master/api_docs/get_snippet.md), there is an updated field. This would indicate that once posted, gists can actually be updated. It's probably a feature of authenticated glot.io users.
updated
If that's the case, we should periodically check for updates to those gists, similarly to GitHub ones. Upon an update, however, it's probably reasonable to just overwrite the entire gist directory wholesale.
In the API (https://github.com/prasmussen/glot-snippets/blob/master/api_docs/get_snippet.md), there is an
updated
field. This would indicate that once posted, gists can actually be updated. It's probably a feature of authenticated glot.io users.If that's the case, we should periodically check for updates to those gists, similarly to GitHub ones. Upon an update, however, it's probably reasonable to just overwrite the entire gist directory wholesale.