Add `warning` to api responses when data-sets are unpublished

- does not pass a warning if the data-set is published