Added spec to api