Add spec for the querying the api urls.