def get_page_as_ancestor(page_id):
    """
    Get ancestors object accepted by the API from a page id

    :param page_id: the ancestor page id
    :return: API-compatible ancestor
    """
    return [{'type': 'page', 'id': page_id}]