usecanvas / canvas-native-3

https://usecanvas.github.io/canvas-native-3
4 stars 1 forks source link

Proposal: Rename uploadCacheID #3

Open soffes opened 8 years ago

soffes commented 8 years ago

A UUID identifying an image being uploaded

I'd personally prefer something more concise than uploadCacheID. Suggestions:

jclem commented 8 years ago

cc @ofbriggs

soffes commented 8 years ago

Also, what is a client supposed to do with this value? :)

olivia commented 8 years ago

I don't mind keeping it as it is currently, id is definitely too vague though, cacheId is ok.

soffes commented 8 years ago

What other IDs could this image have?

jclem commented 8 years ago

This is a client-specific key that's only used by the web client. I'm inclined to remove it from the spec, and allow arbitrary keys in addition to the keys required by the spec.