This is already possible in the API but currently the sample page is not flexible enough to allow this.