def METHOD_NAME(user):
    if user.is_not_super_admin():
        raise dci_exc.Unauthorized()
    def create_sequence():
        etag = utils.gen_etag()
        base.create_resource_orm(
            models2.Counter, {"name": "jobs_events", "sequence": 0, "etag": etag}
        )
    def get_sequence():
        return (
            flask.g.session.query(models2.Counter)
            .filter(models2.Counter.name == "jobs_events")
            .first()
        )
    je_sequence = get_sequence()
    if not je_sequence:
        create_sequence()
        je_sequence = get_sequence()
    return json.jsonify(
        {"sequence": {"sequence": je_sequence.sequence, "etag": je_sequence.etag}}
    )