List all Environments

def list_environments_raw(page_size=200, page_index=0, sort="", q=""):
    """
    List all Environments
    """
    response = utils.checked_api_call(pnc_api.environments, 'get_all', page_size=page_size, page_index=page_index, sort=sort, q=q)
    if response:
        return response.content