renaming client api
resource will act as a document