Add close-topic link to API response and template

Change-Id: I9f432cf09d849b70804de8b2fb72787ca491ff91