[api] make medium of binary release an identifier