Create class.json-api-endpoints