def helper_list(access_token, oid, path):
if oid != "<STR_LIT>":<EOL><INDENT>path = '<STR_LIT>'.join([path, "<STR_LIT>", oid, "<STR_LIT>"])<EOL><DEDENT>endpoint = '<STR_LIT>'.join([ams_rest_endpoint, path])<EOL>return do_ams_get(endpoint, path, access_token)<EOL>
Helper Function to list a URL path.

    Args:
        access_token (str): A valid Azure authentication token.
        oid (str): An OID.
        path (str): A URL Path.

    Returns:
        HTTP response. JSON body.