@classmethod
def _revision_paths(cls, rev, branch, target_platform):
    """Retrieve the API path for revision based builds"""
    if branch not in {'autoland', 'try'}:
        branch = 'mozilla-' + branch
    namespace = 'gecko.v2.' + branch + '.revision.' + rev
    product = 'mobile' if 'android' in target_platform else 'firefox'
    yield '/task/' + namespace + '.' + product + '.' + target_platform
