implements get_or_create_datastore api request method