<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def query_jobs_schedule(repo_name, revision, auth):
 """ Query Buildapi for jobs. """

    url = "%s/%s/rev/%s?format=json" % (SELF_SERVE, repo_name, revision)
    LOG.debug("About to fetch %s" % url)
    req = requests.get(url, auth=auth, timeout=TCP_TIMEOUT)

    # If the revision doesn't exist on buildapi, that means there are
    # no buildapi jobs for this revision
    if req.status_code not in [200]:
        return []

    return req.json()