def METHOD_NAME(token, url=None):
    """
    Returns a listing of all project and recipe ids.
    """
    if url:
        endpoint = reverse("api_list")
        url = urljoin(url, endpoint)
        params = {"token": token}
        response = requests.get(url=url, params=params)
        text = response.text
    else:
        text = api_list()
    return text