Adds an API response

Adds the API response index action to the dataset controller. This makes
it easy to guess the id of the dataset after upload from R or to check
from the R package if a names already has been taken.