[api] add show endpoint